bpo-17140: Document multiprocessing's ThreadPool#23812
Conversation
Fidget-Spinner
left a comment
There was a problem hiding this comment.
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 :). |
a2bd609 to
dc97d38
Compare
|
@pablogsal OK, I've force-pushed a new commit that yanks it down into the |
dc97d38 to
0f1dca8
Compare
|
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__`.
0f1dca8 to
351ccc1
Compare
|
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 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8, 3.9. |
|
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.ThreadPoolclass has goneundocumented, despite being a public class in multiprocessing that is
included in
multiprocessing.pool.__all__.https://bugs.python.org/issue17140