diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-10-30 11:59:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-30 11:59:20 (GMT) |
commit | 21220bbe65108f5a763ead24a6b572f80d84c9e2 (patch) | |
tree | 9461c9327a7b4129f2a67dd256d1e23993cc906b /Lib/pydoc.py | |
parent | 58f7bf3a892031616a6b06ef4b8d36e2ebec172b (diff) | |
download | cpython-21220bbe65108f5a763ead24a6b572f80d84c9e2.zip cpython-21220bbe65108f5a763ead24a6b572f80d84c9e2.tar.gz cpython-21220bbe65108f5a763ead24a6b572f80d84c9e2.tar.bz2 |
bpo-34403: Fix initfsencoding() for ASCII (GH-10233)
* Add _Py_GetForceASCII(): check if Python forces the usage of ASCII
in Py_DecodeLocale() and Py_EncodeLocale().
* initfsencoding() now uses ASCII if _Py_GetForceASCII() is true.
Diffstat (limited to 'Lib/pydoc.py')
0 files changed, 0 insertions, 0 deletions