diff options
author | Victor Stinner <vstinner@python.org> | 2022-05-24 22:09:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-24 22:09:48 (GMT) |
commit | 32b7bcffba0e6f6c96d70cafbae1488c6bc36cbc (patch) | |
tree | 06c3c684b8b7bf7449be55d8b7f8f856cc74f99d /Python/makeopcodetargets.py | |
parent | c7667a2d353cebb0287d29a3ead29b2107425b96 (diff) | |
download | cpython-32b7bcffba0e6f6c96d70cafbae1488c6bc36cbc.zip cpython-32b7bcffba0e6f6c96d70cafbae1488c6bc36cbc.tar.gz cpython-32b7bcffba0e6f6c96d70cafbae1488c6bc36cbc.tar.bz2 |
gh-93103: Py_DecodeLocale() uses _PyRuntime.preconfig (#93187)
The Py_DecodeLocale() and Py_EncodeLocale() now use
_PyRuntime.preconfig, rather than Py_UTF8Mode and
Py_LegacyWindowsFSEncodingFlag global configuration varibles, to
decide if the UTF-8 encoding is used or not.
As documented, these functions must not be called before Python is
preinitialized. The new PyConfig API should now be used, rather than
using deprecated functions like Py_SetPath() or PySys_SetArgv().
Diffstat (limited to 'Python/makeopcodetargets.py')
0 files changed, 0 insertions, 0 deletions