diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2003-03-05 15:13:47 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2003-03-05 15:13:47 (GMT) |
commit | 73d538b9c6d2f262a7d615248c84e509ebd64731 (patch) | |
tree | 777d023ce5bb75fa1831d4815533fd085a62b0b7 /Misc | |
parent | 620c0837bd4bcc7253cf402c553a50f64e5b9619 (diff) | |
download | cpython-73d538b9c6d2f262a7d615248c84e509ebd64731.zip cpython-73d538b9c6d2f262a7d615248c84e509ebd64731.tar.gz cpython-73d538b9c6d2f262a7d615248c84e509ebd64731.tar.bz2 |
Always initialize Py_FileSystemDefaultEncoding on Unix in Py_Initialize,
and not as a side effect of setlocale. Expose it as sys.getfilesystemencoding.
Adjust test case.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -12,6 +12,8 @@ What's New in Python 2.3 beta 1? Core and builtins ----------------- +- sys.getfilesystemencoding() was added to expose + Py_FileSystemDefaultEncoding. - New function sys.exc_clear() clears the current exception. This is rarely needed, but can sometimes be useful to release objects |