]> granicus.if.org Git - python/commit
Issue #8589: Decode PYTHONWARNINGS environment variable with the file system
authorVictor Stinner <victor.stinner@haypocalc.com>
Wed, 19 May 2010 16:53:30 +0000 (16:53 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Wed, 19 May 2010 16:53:30 +0000 (16:53 +0000)
commit9ca9c25bcd9d4b771be6fee34a105546d1c8d666
tree1fcc4adff5bc504e451b760d87d30665668e14d7
parenta5bf3f520c6d899b133b0526a551c279639a7851
Issue #8589: Decode PYTHONWARNINGS environment variable with the file system
encoding and surrogateespace error handler instead of the locale encoding to be
consistent with os.environ. Add PySys_AddWarnOptionUnicode() function.
Doc/c-api/sys.rst
Include/sysmodule.h
Misc/NEWS
Modules/main.c
Python/sysmodule.c