Message201389
It looks like there's also a separate problem in the multiprocessing
module. 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) |
|
Date |
User |
Action |
Args |
2013-10-26 18:11:41 | nadeem.vawda | set | recipients:
+ nadeem.vawda, tim.peters, pitrou, jnoller, sbt, cantor |
2013-10-26 18:11:41 | nadeem.vawda | set | messageid: <1382811101.7.0.637835743845.issue19395@psf.upfronthosting.co.za> |
2013-10-26 18:11:41 | nadeem.vawda | link | issue19395 messages |
2013-10-26 18:11:41 | nadeem.vawda | create | |
|