This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Gerrit.Holl, r.david.murray, serhiy.storchaka
Date 2017-01-04.17:06:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483549610.25.0.835448537508.issue29155@psf.upfronthosting.co.za>
In-reply-to
Content
It is easy to add FileNotFoundError to the list of expected exceptions. But it seems to me that the only error that gespname() can return on Linux is EACCES. [1] May be this is a bug of your platform.

[1] http://man7.org/linux/man-pages/man3/getspnam.3.html
History
Date User Action Args
2017-01-04 17:06:50serhiy.storchakasetrecipients: + serhiy.storchaka, r.david.murray, Gerrit.Holl
2017-01-04 17:06:50serhiy.storchakasetmessageid: <1483549610.25.0.835448537508.issue29155@psf.upfronthosting.co.za>
2017-01-04 17:06:50serhiy.storchakalinkissue29155 messages
2017-01-04 17:06:50serhiy.storchakacreate