[issue7301] Add environment variable $PYTHONWARNINGS

Philip Jenvey report at bugs.python.org
Wed Apr 7 08:31:03 CEST 2010


Philip Jenvey <pjenvey at underboss.org> added the comment:

I committed a somewhat different version of this patch to py3k to handle the warn options now calling for wchars, but this needs more work. Some of the buildbots are unhappy

Seems like the py3k version either needs to fully decode the env values to a unicode obj via the file system encoding (which I doubt is initialized at this point)/surrogateescape, or use something along the lines of char2wchar in python.c

----------
assignee:  -> pjenvey
resolution: fixed -> accepted
status: closed -> open

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


More information about the Python-bugs-list mailing list