[issue34604] Possible mojibake in pwd.getpwnam and grp.getgrnam

William Grzybowski report at bugs.python.org
Fri Sep 7 09:14:55 EDT 2018


New submission from William Grzybowski <william88 at gmail.com>:

Issue was spotted by @vstinner while reviewing https://github.com/python/cpython/pull/7081

pwd.getpwnam and grp.getgrnam are susceptible to mojibake as they are using encoded bytes instead of unicode in the error message.

----------
components: Extension Modules
messages: 324738
nosy: wg
priority: normal
severity: normal
status: open
title: Possible mojibake in pwd.getpwnam and grp.getgrnam
versions: Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34604>
_______________________________________


More information about the Python-bugs-list mailing list