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

Jesse Noller report at bugs.python.org
Wed Jul 30 14:06:17 CEST 2008


Jesse Noller <jnoller at gmail.com> added the comment:

>From Victor:
Ok, here is a patch for test_multiprocessing.py.
- TestClosedFile.test_open() verify that Connection() rejects closed file
descriptor
- TestClosedFile.test_operations() verify that Connection() raises IOError 
for
operations on closed file

I don't know if Connection() is a socket or a pipe. Both should be tested.

Added file: http://bugs.python.org/file11007/test_multiprocessing.patch

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


More information about the Python-bugs-list mailing list