[issue3321] _multiprocessing.Connection() doesn't check handle

Hirokazu Yamamoto report at bugs.python.org
Sat Sep 13 17:44:12 CEST 2008


Hirokazu Yamamoto <ocean-city at m2.ccsnet.ne.jp> added the comment:

I've implemented "another solution". test_open() in
test_multithreading.patch won't pass though.... It'll raise error in
conn.poll() not in constructor.

$ ./dummy.exe b.py
Traceback (most recent call last):
  File "b.py", line 6, in <module>
    conn.poll()
IOError: [Errno 9] Bad file descriptor

test_operations() will pass.

Added file: http://bugs.python.org/file11485/another_solution.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3321>
_______________________________________


More information about the Python-bugs-list mailing list