Message119408
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. |
|
Date |
User |
Action |
Args |
2010-10-22 23:22:19 | ikanobori | set | recipients:
+ ikanobori |
2010-10-22 23:22:19 | ikanobori | set | messageid: <1287789739.18.0.21420008091.issue10174@psf.upfronthosting.co.za> |
2010-10-22 23:22:17 | ikanobori | link | issue10174 messages |
2010-10-22 23:22:17 | ikanobori | create | |
|