[issue20431] Should posix functions that accept fd also accept objects with .fileno()?
Larry Hastings
report at bugs.python.org
Wed Jan 29 04:55:23 CET 2014
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 <report at bugs.python.org>
<http://bugs.python.org/issue20431>
_______________________________________
More information about the Python-bugs-list
mailing list