summaryrefslogtreecommitdiffstatshomepage
path: root/py/moduerrno.c
Commit message (Collapse)AuthorAge
* all: Remove 'name' member from mp_obj_module_t struct.Damien George2016-09-22
| | | | One can instead lookup __name__ in the modules dict to get the value.
* py/moduerrno: Add ECONNREFUSED, one of frequent networking errors.Paul Sokolovsky2016-05-28
|
* py/moduerrno: Add EEXIST, EISDIR.Paul Sokolovsky2016-05-25
| | | | Useful to check file/dir operations result, in particular used by upip.
* py/moduerrno: Add EACCES, pretty common error on Unix.Paul Sokolovsky2016-05-13
|
* py/objexcept: Don't convert errno to str in constructor, do it in print.Damien George2016-05-12
| | | | | | | | OSError's are now printed like: OSError: [Errno 1] EPERM but only if the string corresponding to the errno is found.
* py: Add mp_errno_to_str() and use it to provide nicer OSError msgs.Damien George2016-05-12
| | | | | | | 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.
* py/moduerrno: Add more constants to the errno module.Damien George2016-05-12
|
* py: Add uerrno module, with errno constants and dict.Damien George2016-05-10