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 vstinner
Recipients barry, chrishood, eli.bendersky, ethan.furman, serhiy.storchaka, vstinner
Date 2013-11-26.15:45:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385480739.3.0.526146624338.issue19624@psf.upfronthosting.co.za>
In-reply-to
Content
> This is not so easy issue because the errno module is not pure Python module. ;)

An option is to rename the C errno module to _errno and leave it unchanged, and provide a Python errno module which enum API.

Then slowly errno module should be used instead of _errno.

Using enum for errno should not slow down Python startup time.
History
Date User Action Args
2013-11-26 15:45:39vstinnersetrecipients: + vstinner, barry, eli.bendersky, ethan.furman, serhiy.storchaka, chrishood
2013-11-26 15:45:39vstinnersetmessageid: <1385480739.3.0.526146624338.issue19624@psf.upfronthosting.co.za>
2013-11-26 15:45:39vstinnerlinkissue19624 messages
2013-11-26 15:45:39vstinnercreate