Message330955
"""
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? |
|
| 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: <[email protected]> |
| 2018-12-03 16:28:50 | vstinner | link | issue34172 messages |
| 2018-12-03 16:28:50 | vstinner | create | |
|