Larry Hastings added the comment: The functions that use PyObject_AsFileDescriptor() also call _PyVerify_fd(), which magically determines whether or not the file descriptor is valid. Only works on Windows though.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20431> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com