]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45735: Promise the long-time truth that `args=list` works (GH-30982)
authorCharlie Zhao <68189100+CharlieZhao95@users.noreply.github.com>
Sat, 26 Feb 2022 04:17:13 +0000 (12:17 +0800)
committerGitHub <noreply@github.com>
Sat, 26 Feb 2022 04:17:13 +0000 (22:17 -0600)
commite466faa9df9a1bd377d9725de5484471bc4af8d0
treefc1e208390aab53f622971b10c8799bc4159ef1c
parent5ab745fc51e159ead28b523414e52f0bcc1ef353
bpo-45735: Promise the long-time truth that `args=list` works (GH-30982)

For threads, and for multiprocessing, it's always been the case that ``args=list`` works fine when passed to ``Process()`` or ``Thread()``, and such code is common in the wild. But, according to the docs, only a tuple can be used. This brings the docs into synch with reality.

Doc changes by Charlie Zhao.
Co-authored-by: Tim Peters <tim.peters@gmail.com>
Doc/library/multiprocessing.rst
Doc/library/threading.rst
Lib/test/_test_multiprocessing.py
Lib/test/test_threading.py
Lib/threading.py
Misc/ACKS