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 <rep...@bugs.python.org>
<http://bugs.python.org/issue18787>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to