Message201580
[Split off from issue 19395]
The following code hangs after hitting a TypeError trying to pickle one
of the TextIOWrapper objects:
import multiprocessing
def read(f): return f.read()
files = [open(path) for path in 3 * ['/dev/null']]
pool = multiprocessing.Pool()
results = pool.map(read, files)
print(results)
This issue is present in 3.2, 3.3 and 3.4, but not in 2.7. |
|
Date |
User |
Action |
Args |
2013-10-28 20:53:20 | nadeem.vawda | set | recipients:
+ nadeem.vawda, tim.peters, pitrou, jnoller, python-dev, sbt, cantor |
2013-10-28 20:53:20 | nadeem.vawda | set | messageid: <1382993600.07.0.457043884455.issue19425@psf.upfronthosting.co.za> |
2013-10-28 20:53:20 | nadeem.vawda | link | issue19425 messages |
2013-10-28 20:53:19 | nadeem.vawda | create | |
|