commit | 28658485a54ad5f9df52ecc12d9046269f1654ec | [log] [tgz] |
---|---|---|
author | William Grzybowski <wg@FreeBSD.org> | Fri Sep 07 14:10:39 2018 -0300 |
committer | Victor Stinner <vstinner@redhat.com> | Fri Sep 07 19:10:39 2018 +0200 |
tree | 37481555ef2aabc3af2c325ef4b6c6c65e2662ef | |
parent | 7e610bcdf128f61b925654e4fa80fbac83537d0e [diff] |
bpo-34604: Fix possible mojibake in pwd.getpwnam() and grp.getgrnam() (GH-9098) Pass the user/group name as Unicode to the formatting function, instead of always decoding a bytes string from UTF-8.