[issue43526] Programmatic management of BytesWarning doesn't work for native triggers.

Gregory P. Smith report at bugs.python.org
Mon Nov 15 16:41:52 EST 2021


Gregory P. Smith <greg at krypto.org> added the comment:

fwiw, at work we modified our interpreter to treat PYTHONBYTESWARNING=1 or 2 as if -b or -bb were passed.  All of our tests run by default with a PYTHONBYTESWARNING=2 in their environment.

----------
nosy: +gregory.p.smith

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43526>
_______________________________________


More information about the Python-bugs-list mailing list