This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2016年03月09日 20:37 by pitrou, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| test_threadpool.patch | pitrou, 2016年03月09日 20:37 | review | ||
| test_threadpool2.patch | pitrou, 2016年03月09日 20:58 | review | ||
| Messages (5) | |||
|---|---|---|---|
| msg261474 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2016年03月09日 20:37 | |
There is a mistake in _test_multiprocessing.py which means that ThreadPool is untested, the regular Pool is tested instead by the ThreadsMixin. Patch attached. |
|||
| msg261476 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2016年03月09日 20:58 | |
Turns out a couple of tests were calling multiprocessing.Pool directly, updating patch. |
|||
| msg261484 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2016年03月10日 06:13 | |
LGTM. Is it worth to change multiprocessing.Pool in _TestPoolWorkerErrors and _TestPoolWorkerLifetime? Currently they work only for processes, but may be they can be generalized. |
|||
| msg261804 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2016年03月15日 09:34 | |
> Is it worth to change multiprocessing.Pool in _TestPoolWorkerErrors > and _TestPoolWorkerLifetime? Currently they work only for processes, > but may be they can be generalized. Perhaps as another issue? It may be more involved than this one. |
|||
| msg261807 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2016年03月15日 09:56 | |
New changeset 4cabf12b7fc6 by Antoine Pitrou in branch '3.5': Issue #26523: The multiprocessing thread pool (multiprocessing.dummy.Pool) was untested. https://hg.python.org/cpython/rev/4cabf12b7fc6 New changeset 131f92510164 by Antoine Pitrou in branch 'default': Issue #26523: The multiprocessing thread pool (multiprocessing.dummy.Pool) was untested. https://hg.python.org/cpython/rev/131f92510164 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:28 | admin | set | github: 70710 |
| 2016年03月15日 09:56:34 | pitrou | set | status: open -> closed resolution: fixed stage: commit review -> resolved |
| 2016年03月15日 09:56:08 | python-dev | set | nosy:
+ python-dev messages: + msg261807 |
| 2016年03月15日 09:34:15 | pitrou | set | messages: + msg261804 |
| 2016年03月14日 08:47:02 | serhiy.storchaka | set | assignee: pitrou stage: patch review -> commit review |
| 2016年03月10日 06:13:57 | serhiy.storchaka | set | nosy:
+ serhiy.storchaka messages: + msg261484 |
| 2016年03月10日 01:39:45 | ned.deily | set | nosy:
+ davin |
| 2016年03月09日 20:58:29 | pitrou | set | files:
+ test_threadpool2.patch messages: + msg261476 |
| 2016年03月09日 20:37:10 | pitrou | create | |