pwd and grp modules return different string in KeyError since python 3.7.2
sh-4.4$ python3 --version Python 3.7.1 sh-4.4$ python3 -c 'import grp; grp.getgrnam("non-exist");' Traceback (most recent call last): File "", line 1, in KeyError: 'getgrnam(): name not found: non-exist'
sh-4.4$ python3 --version Python 3.7.2 sh-4.4$ python3 -c 'import grp; grp.getgrnam("non-exist");' Traceback (most recent call last): File "", line 1, in KeyError: "getgrnam(): name not found: 'non-exist'"
LGTM, I'll run CI before pushing.
Sorry about the delay
ACK
Commit 54d7175d fixes this pull-request
Pull-Request has been merged by jhrozek
pwd and grp modules return different string in KeyError
since python 3.7.2
sh-4.4$ python3 --version", line 1, in
Python 3.7.1
sh-4.4$ python3 -c 'import grp; grp.getgrnam("non-exist");'
Traceback (most recent call last):
File "
KeyError: 'getgrnam(): name not found: non-exist'
sh-4.4$ python3 --version", line 1, in
Python 3.7.2
sh-4.4$ python3 -c 'import grp; grp.getgrnam("non-exist");'
Traceback (most recent call last):
File "
KeyError: "getgrnam(): name not found: 'non-exist'"