Message119408
| Author |
ikanobori |
| Recipients |
ikanobori |
| Date |
2010年10月22日.23:22:17 |
| SpamBayes Score |
4.531588e-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: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 |
|