[issue14153] Expose os.device_encoding() at the C level

Brett Cannon report at bugs.python.org
Wed Feb 29 18:41:44 CET 2012


Brett Cannon <brett at python.org> added the comment:

Victor's point fixed my issue.

As for a test, I will happily write one, but what can I test? A string for fd 0 and None for fd -1 (or is there some os call I can make to find the largest fd so I can test fd+1)?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14153>
_______________________________________


More information about the Python-bugs-list mailing list