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: <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 | |
|