[issue5552] With invalid FD, os.device_encoding() returns None under Linux but raises an error under Windows
Antoine Pitrou
report at bugs.python.org
Tue Mar 24 14:56:55 CET 2009
Antoine Pitrou <pitrou at free.fr> added the comment:
This may be related to the following lines in posixmodule.c:
if (!_PyVerify_fd(fd))
return posix_error();
----------
nosy: +krisvale
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5552>
_______________________________________
More information about the Python-bugs-list
mailing list