Message125718
The reported error is only reproducible in 2.6
Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49)
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> import multiprocessing
>>> class A:pass
...
>>> sys.stdin=A()
>>> p=multiprocessing.Pool(processes=2)
Process PoolWorker-1:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/multiprocessing/process.py", line 223, in _bootstrap
Process PoolWorker-2:
Traceback (most recent call last):
os.close(sys.stdin.fileno())
AttributeError: A instance has no attribute 'fileno'
>>> File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/multiprocessing/process.py", line 223, in _bootstrap
os.close(sys.stdin.fileno())
AttributeError: A instance has no attribute 'fileno' |
|
Date |
User |
Action |
Args |
2011-01-07 21:52:30 | mher | set | recipients:
+ mher, jnoller, Trundle, asksol, ikanobori |
2011-01-07 21:52:30 | mher | set | messageid: <1294437150.24.0.332447296721.issue10174@psf.upfronthosting.co.za> |
2011-01-07 21:52:26 | mher | link | issue10174 messages |
2011-01-07 21:52:26 | mher | create | |
|