[issue32731] getpass.getuser() raises an unspecified exceptions (ImportError, OSError, etc)
Fangyi Zhou
report at bugs.python.org
Mon Feb 12 15:56:22 EST 2018
Fangyi Zhou <fangyi.zhou at yuriko.moe> added the comment:
Hi. I've updated the docs.
I'm wondering if the code needs to be patched as well. Essentially we should raise a unified Exception for unable to get the username I suppose?
Please let me know if you have any comments/suggestions on wording. Thanks.
----------
nosy: +fangyizhou
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32731>
_______________________________________
More information about the Python-bugs-list
mailing list