[issue32033] The pwd module implementation incorrectly sets some attributes to None

Serhiy Storchaka report at bugs.python.org
Wed Nov 22 05:10:40 EST 2017


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

On your second link it is documented explicitly that pw_dir and pw_shell might be NULL. And at least for pw_shell the behavior for NULL and "" are different.

----------

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


More information about the Python-bugs-list mailing list