Message331221
| Author | vstinner |
|---|---|
| Recipients | Windson Yang, benjamin.peterson, davin, docs@python, mattip, ned.deily, pablogsal, pitrou, tzickel, vstinner, zach.ware |
| Date | 2018-12-06.10:29:57 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1544092198.04.0.788709270274.issue34172@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
See also bpo-35424: "multiprocessing.Pool: emit ResourceWarning". I wrote 10986 to fix 2 tests which leak resources. I have a question. Why do tests have to call "pool.join()" after "with pool:"? When I use a file, I know that the resources are released after "with file:". Should Pool.__exit__() call Pool.join()? This question reminds me my fix in socketserver (bpo-31151 and bpo-31233) which leaked processes and threads, and my bug bpo-34037 (asyncio leaks threads). |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-12-06 10:29:58 | vstinner | set | recipients: + vstinner, pitrou, benjamin.peterson, ned.deily, docs@python, zach.ware, mattip, davin, tzickel, pablogsal, Windson Yang |
| 2018-12-06 10:29:58 | vstinner | set | messageid: <1544092198.04.0.788709270274.issue34172@psf.upfronthosting.co.za> |
| 2018-12-06 10:29:58 | vstinner | link | issue34172 messages |
| 2018-12-06 10:29:57 | vstinner | create | |