[issue4261] The pwd module doesn't distinguish between errors and no user
R. David Murray
report at bugs.python.org
Sun Mar 23 13:13:49 CET 2014
R. David Murray added the comment:
I read that first paragraph as the controlling one, and that says that errno will be zero if the problem was that the entry could not be found, and non-zero if some other error occurred.
Raising an error would be a backward incompatible change, so it could only be done in 3.5.
----------
versions: -Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4261>
_______________________________________
More information about the Python-bugs-list
mailing list