summaryrefslogtreecommitdiffstats
path: root/Lib/enum.py
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2018-09-09 11:27:31 (GMT)
committerVictor Stinner <vstinner@redhat.com>2018-09-09 11:27:31 (GMT)
commit7a633ed79cfba2cfc0f80410ddcaeecadc2030e9 (patch)
treee2eaa34c94f6b2831613a58ac85678f23aeb9bba /Lib/enum.py
parent77b92b15a5e5c84b91d3fd9d02f63db432fa8903 (diff)
downloadcpython-7a633ed79cfba2cfc0f80410ddcaeecadc2030e9.zip
cpython-7a633ed79cfba2cfc0f80410ddcaeecadc2030e9.tar.gz
cpython-7a633ed79cfba2cfc0f80410ddcaeecadc2030e9.tar.bz2
[3.7] bpo-34604: Fix possible mojibake in pwd.getpwnam() and grp.getgrnam() (GH-9098) (GH-9104)
Pass the user/group name as Unicode to the formatting function, instead of always decoding a bytes string from UTF-8.. (cherry picked from commit 28658485a54ad5f9df52ecc12d9046269f1654ec) Co-authored-by: William Grzybowski <wg@FreeBSD.org>
Diffstat (limited to 'Lib/enum.py')
0 files changed, 0 insertions, 0 deletions