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.
V
Victor Stinner committed
9ca9c25bcd9d4b771be6fee34a105546d1c8d666
Parent: a5bf3f5