[issue4261] The pwd module doesn't distinguish between errors and no user
STINNER Victor
report at bugs.python.org
Sun Mar 23 14:15:13 CET 2014
STINNER Victor added the comment:
The current code doesn't check errno, but if the result is NULL. NULL is
returned if the user doesn't exist, or if an error occurred. But it looks
like errno is not always 0 when the user doesn't exist.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4261>
_______________________________________
More information about the Python-bugs-list
mailing list