New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-17140: Document multiprocessing's ThreadPool #23812
Conversation
This LGTM. The only comment I have is that it seems strange to place ThreadPool
under the Process Pools
section, though I understand that it makes sense since it's a subclass of Pool
. Maybe we can create a Thread Pools
subsection for it. What do you think?
I almost did that, and don't mind changing it to be that way if you prefer. Would you like the new section directly below the "Process Pools" section? I also considered putting it in the "The :mod: |
Hmm I think, I'll wait and see what the core dev who reviews this prefers. Thanks for working on this :). |
@pablogsal OK, I've force-pushed a new commit that yanks it down into the |
LGTM
I will leave some days in case Antoine has time to review this before landing in case he has some new insights or he wants some changes.
I just made one final change - I had the note about preferring |
Up until now the `multiprocessing.pool.ThreadPool` class has gone undocumented, despite being a public class in multiprocessing that is included in `multiprocessing.pool.__all__`.
One more force push - I noticed a missing word after re-reading this. |
Note the there is no need for force pushes: the commits will be squashed and the core Dev merging will write the final commit anyway. |
This is fine with me. Thanks for reviewing @pablogsal ! |
Thanks @godlygeek for the PR, and @pablogsal for merging it |
GH-23834 is a backport of this pull request to the 3.9 branch. |
Up until now, the `multiprocessing.pool.ThreadPool` class has gone undocumented, despite being a public class in multiprocessing that is included in `multiprocessing.pool.__all__`. (cherry picked from commit 84ebcf2) Co-authored-by: Matt Wozniski <mwozniski@bloomberg.net>
GH-23835 is a backport of this pull request to the 3.8 branch. |
Up until now, the `multiprocessing.pool.ThreadPool` class has gone undocumented, despite being a public class in multiprocessing that is included in `multiprocessing.pool.__all__`. (cherry picked from commit 84ebcf2) Co-authored-by: Matt Wozniski <mwozniski@bloomberg.net>
GH-23836 is a backport of this pull request to the 3.7 branch. |
Up until now, the `multiprocessing.pool.ThreadPool` class has gone undocumented, despite being a public class in multiprocessing that is included in `multiprocessing.pool.__all__`. (cherry picked from commit 84ebcf2) Co-authored-by: Matt Wozniski <mwozniski@bloomberg.net>
Up until now, the `multiprocessing.pool.ThreadPool` class has gone undocumented, despite being a public class in multiprocessing that is included in `multiprocessing.pool.__all__`. (cherry picked from commit 84ebcf2) Co-authored-by: Matt Wozniski <mwozniski@bloomberg.net>
Up until now, the `multiprocessing.pool.ThreadPool` class has gone undocumented, despite being a public class in multiprocessing that is included in `multiprocessing.pool.__all__`. (cherry picked from commit 84ebcf2) Co-authored-by: Matt Wozniski <mwozniski@bloomberg.net>
Up until now, the `multiprocessing.pool.ThreadPool` class has gone undocumented, despite being a public class in multiprocessing that is included in `multiprocessing.pool.__all__`.
Up until now the
multiprocessing.pool.ThreadPool
class has goneundocumented, despite being a public class in multiprocessing that is
included in
multiprocessing.pool.__all__
.https://bugs.python.org/issue17140
The text was updated successfully, but these errors were encountered: