Marc-Andre Lemburg added the comment:

I'm not sure whether changing the errno module to use enums would be 
conceptually correct:

enums declare a fixed set of permitted values, but errno values can be any 
integer, are platform dependent and are sometimes not unique (e.g. EWOULDBLOCK 
= EAGAIN, or the various Windows WSA errno values which map to similar integers 
as the Unix ones).

----------
nosy: +lemburg

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19624>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to