Ronald Oussoren added the comment:

How can you work around it in os.read, without knowing anything about what the 
file descriptor represents? Just triggering on getting on EINVAL error when 
calling read might trigger other problems and might even be a valid result for 
some file descriptors (for example for custom file systems or device files).

And what kind of workaround do you propose?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15896>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to