[issue14153] Expose os.device_encoding() at the C level
report at bugs.python.org
Wed Feb 29 16:19:27 CET 2012
Antoine Pitrou <pitrou at free.fr> added the comment:
I don't seen any refcounting problem here, but your patch is buggy.
>>> os.device_encoding(0) is None
Interestingly, it seems there is no test for os.device_encoding. Perhaps add one to test_os?
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list