[issue18787] Misleading error from getspnam function of spwd module
Serhiy Storchaka
report at bugs.python.org
Tue Aug 20 11:32:45 CEST 2013
Serhiy Storchaka added the comment:
PyErr_SetFromErrno(PyExc_OSError) looks more appropriate for permission denied error. However this change is backward incompatible so perhaps we have to left a KeyError.
----------
nosy: +loewis, serhiy.storchaka
stage: -> test needed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18787>
_______________________________________
More information about the Python-bugs-list
mailing list