Antoine Pitrou <[email protected]> added the comment: I don't seen any refcounting problem here, but your patch is buggy. Before patch:
>>> os.device_encoding(0) 'UTF-8' After patch: >>> os.device_encoding(0) is None True Interestingly, it seems there is no test for os.device_encoding. Perhaps add one to test_os? ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue14153> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
