[issue15896] Sporadic EINVAL in nonblocking pipe os.read when forked child fails on Mac OS

Vitaly report at bugs.python.org
Wed Sep 19 08:55:56 CEST 2012


Vitaly added the comment:

> The workaround should not be implemented in os.read because it is a very thin wrapper around the system call and should stay that way.

Although this issue was initially filed as "Sporadic EINVAL in nonblocking pipe os.read when forked child fails on Mac OS", the subsequent investigation revealed that this has nothing to do with a forked child failing.  Rather, it's a bug in the read() syscall on Mac OS X.  What would be a more appropriate place to work around this read() syscall bug than os.read?

----------

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


More information about the Python-bugs-list mailing list