STINNER Victor <victor.stin...@haypocalc.com> added the comment: The leaking file descriptor is a the read end of a pipe created in the test (the test creates 5 pipes, 10 file descriptors). On creation (in the parent process), this file descriptor has the mode : st_mode=4528. In the child process, the file descriptor has the mode : st_mode=420, which is an invalid mode. The child cannot read or write into this file: write raises an OSError(9, 'Bad file descriptor') and read raises an OSError(45, 'Operation not supported'). It looks like a kernel (Darwin) bug, fixed in Mac OS X > 10.4.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12230> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com