New submission from Simon de Vlieger si...@ikanobori.jp:
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.
--
components: None
messages: 119408
nosy: ikanobori
priority: normal
severity: normal
status: open
title: multiprocessing expects sys.stdout to have a fileno/close method.
versions: Python 2.6, Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10174
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com