Author serhiy.storchaka
Recipients docs@python, martin.panter, pitrou, r.david.murray, serhiy.storchaka
Date 2015-06-11.07:36:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It should be documented (if still not) that OSError() constructor can return an instance of OSError subclass, depending on errno value.

>>> OSError(errno.ENOENT, 'no such file')
FileNotFoundError(2, 'no such file')
Date User Action Args
2015-06-11 07:36:50serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, r.david.murray, docs@python, martin.panter
2015-06-11 07:36:50serhiy.storchakasetmessageid: <>
2015-06-11 07:36:50serhiy.storchakalinkissue23391 messages
2015-06-11 07:36:50serhiy.storchakacreate