diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-09-18 00:19:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-18 00:19:26 (GMT) |
commit | dbdee0073cf0b88fe541980ace1f650900f455cc (patch) | |
tree | 68551d58bdbdf451a11dbb462ff65d0c3fac1368 /Doc/whatsnew/3.7.rst | |
parent | 7a0791b6992d420dc52536257f2f093851ed7215 (diff) | |
download | cpython-dbdee0073cf0b88fe541980ace1f650900f455cc.zip cpython-dbdee0073cf0b88fe541980ace1f650900f455cc.tar.gz cpython-dbdee0073cf0b88fe541980ace1f650900f455cc.tar.bz2 |
bpo-34589: Add -X coerce_c_locale command line option (GH-9378)
Add a new -X coerce_c_locale command line option to control C locale
coercion (PEP 538).
Diffstat (limited to 'Doc/whatsnew/3.7.rst')
-rw-r--r-- | Doc/whatsnew/3.7.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst index f53a026..6cd9d46 100644 --- a/Doc/whatsnew/3.7.rst +++ b/Doc/whatsnew/3.7.rst @@ -2494,3 +2494,10 @@ versions, it respected an ill-defined subset of those environment variables, while in Python 3.7.0 it didn't read any of them due to :issue:`34247`). If this behavior is unwanted, set :c:data:`Py_IgnoreEnvironmentFlag` to 1 before calling :c:func:`Py_Initialize`. + +:c:func:`Py_Initialize` and :c:func:`Py_Main` cannot enable the C locale +coercion (:pep:`538`) anymore: it is always disabled. It can now only be +enabled by the Python program ("python3). + +New :option:`-X` ``coerce_c_locale`` command line option to control C locale +coercion (:pep:`538`). |