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 ikanobori
Recipients ikanobori
Date 2010-10-22.23:22:17
SpamBayes Score 4.53159e-05
Marked as misclassified No
Message-id <1287789739.18.0.21420008091.issue10174@psf.upfronthosting.co.za>
In-reply-to
Content
When I have replaced sys.stdin with my own file-like object and I try to do a multiprocessing.Pool(processes=x) I get errors about sys.stdin not having a fileno or close method.

For at least fileno it is described in the docs (http://docs.python.org/library/stdtypes.html#file-objects) that if your object is not a real file you should not implement it.

This happens to me on Mac OS X, I will add the traceback a bit later as I am currently not on my Mac.
History
Date User Action Args
2010-10-22 23:22:19ikanoborisetrecipients: + ikanobori
2010-10-22 23:22:19ikanoborisetmessageid: <1287789739.18.0.21420008091.issue10174@psf.upfronthosting.co.za>
2010-10-22 23:22:17ikanoborilinkissue10174 messages
2010-10-22 23:22:17ikanoboricreate