aboutsummaryrefslogtreecommitdiff
path: root/py/moduerrno.c
AgeCommit message (Collapse)Author
2016-05-28py/moduerrno: Add ECONNREFUSED, one of frequent networking errors.Paul Sokolovsky
2016-05-25py/moduerrno: Add EEXIST, EISDIR.Paul Sokolovsky
Useful to check file/dir operations result, in particular used by upip.
2016-05-13py/moduerrno: Add EACCES, pretty common error on Unix.Paul Sokolovsky
2016-05-12py/objexcept: Don't convert errno to str in constructor, do it in print.Damien George
OSError's are now printed like: OSError: [Errno 1] EPERM but only if the string corresponding to the errno is found.
2016-05-12py: Add mp_errno_to_str() and use it to provide nicer OSError msgs.Damien George
If an OSError is raised with an integer argument, and that integer corresponds to an errno, then the string for the errno is used as the argument to the exception, instead of the integer. Only works if the uerrno module is enabled.
2016-05-12py/moduerrno: Add more constants to the errno module.Damien George
2016-05-10py: Add uerrno module, with errno constants and dict.Damien George