[issue18373] implement sys.get/setbyteswarningflag()

STINNER Victor report at bugs.python.org
Fri Jul 12 21:01:09 CEST 2013


STINNER Victor added the comment:

When I added os.environb, I had issues with the ByteWarning, in os.get_exec_path() if I remember correctly. I had to play with warmings.catch_warning(). A thread variable would simplify the code.

----------
nosy: +haypo

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


More information about the Python-bugs-list mailing list