Richard Oudkerk <shibt...@gmail.com> added the comment: > This doesn't change that, and as far as I know, this has worked and > continues to work. "errno" is supported.
Using your patch, does the following throw an AssertionError? >>> import os, errno >>> try: ... os.read(-1, 10) ... except OSError as e: ... assert e.errno == errno.EBADF ... >>> ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13210> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com