Message330955
| Author | vstinner |
|---|---|
| Recipients | Windson Yang, benjamin.peterson, davin, docs@python, mattip, ned.deily, pablogsal, pitrou, tzickel, vstinner, zach.ware |
| Date | 2018-12-03.16:28:50 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1543854530.21.0.788709270274.issue34172@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
"""
def the_test():
print("Begin")
for x in multiprocessing.Pool().imap(int,
["4", "3"]):
print(x)
print("End")
"""
Side-note: Is it correct to use a pool without calling terminate() nor close()? Should we start to emit a ResourceWarning if a pool is not closed explicitly, as we did for files, sockets, asyncio event loops and subprocess.Popen objects? |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-12-03 16:28:50 | vstinner | set | recipients: + vstinner, pitrou, benjamin.peterson, ned.deily, docs@python, zach.ware, mattip, davin, tzickel, pablogsal, Windson Yang |
| 2018-12-03 16:28:50 | vstinner | set | messageid: <1543854530.21.0.788709270274.issue34172@psf.upfronthosting.co.za> |
| 2018-12-03 16:28:50 | vstinner | link | issue34172 messages |
| 2018-12-03 16:28:50 | vstinner | create | |