]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Use locale encoding if Py_FileSystemDefaultEncoding is not set
authorVictor Stinner <victor.stinner@haypocalc.com>
Fri, 15 Oct 2010 12:04:23 +0000 (12:04 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Fri, 15 Oct 2010 12:04:23 +0000 (12:04 +0000)
commitf3170ccef8809e4a3f82fe9f82dc7a4a486c28c1
treeb96ab0a2584f511758bad3e4ccac6c4e3ed43954
parent6a4aff10f0f1c34f488d5d0f932eea1fb3483dbf
Use locale encoding if Py_FileSystemDefaultEncoding is not set

 * PyUnicode_EncodeFSDefault(), PyUnicode_DecodeFSDefaultAndSize() and
   PyUnicode_DecodeFSDefault() use the locale encoding instead of UTF-8 if
   Py_FileSystemDefaultEncoding is NULL
 * redecode_filenames() functions and _Py_code_object_list (issue #9630)
   are no more needed: remove them
Doc/c-api/unicode.rst
Include/code.h
Include/unicodeobject.h
Misc/NEWS
Objects/codeobject.c
Objects/object.c
Objects/unicodeobject.c
Python/pythonrun.c