This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mher
Recipients Trundle, asksol, ikanobori, jnoller, mher
Date 2011-01-07.21:52:26
SpamBayes Score 8.98726e-12
Marked as misclassified No
Message-id <1294437150.24.0.332447296721.issue10174@psf.upfronthosting.co.za>
In-reply-to
Content
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'
History
Date User Action Args
2011-01-07 21:52:30mhersetrecipients: + mher, jnoller, Trundle, asksol, ikanobori
2011-01-07 21:52:30mhersetmessageid: <1294437150.24.0.332447296721.issue10174@psf.upfronthosting.co.za>
2011-01-07 21:52:26mherlinkissue10174 messages
2011-01-07 21:52:26mhercreate