[issue10174] multiprocessing expects sys.stdout to have a fileno/close method.

2011-01-08 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, closing then. -- nosy: +pitrou resolution: -> duplicate status: open -> closed superseder: -> multiprocessing.process using os.close(sys.stdin.fileno) instead of sys.stdin.close() ___ Python tracker

[issue10174] multiprocessing expects sys.stdout to have a fileno/close method.

2011-01-07 Thread Mher Movsisyan
Mher Movsisyan added the comment: This bug was fixed in #5313 --- a/multiprocessing/process.py +++ b/multiprocessing/process.py @@ -225,7 +225,8 @@ class Process(object): self._children = set() self._counter = itertools.count(1) try: -os.cl

[issue10174] multiprocessing expects sys.stdout to have a fileno/close method.

2011-01-07 Thread Mher Movsisyan
Mher Movsisyan added the comment: 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 >>> c

[issue10174] multiprocessing expects sys.stdout to have a fileno/close method.

2010-10-23 Thread Ask Solem
Ask Solem added the comment: Please add the traceback, I can't seem to find any obvious places where this would happen now. Also, what version are you currently using? I agree with the fileno, but I'd say close is a reasonable method to implement, especially for stdin/stdout/stderr --

[issue10174] multiprocessing expects sys.stdout to have a fileno/close method.

2010-10-23 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- components: +Library (Lib) -None nosy: +asksol, jnoller versions: +Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker ___ __

[issue10174] multiprocessing expects sys.stdout to have a fileno/close method.

2010-10-22 Thread Andreas Stührk
Changes by Andreas Stührk : -- nosy: +Trundle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue10174] multiprocessing expects sys.stdout to have a fileno/close method.

2010-10-22 Thread Simon de Vlieger
New submission from Simon de Vlieger : 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/libr