Skip to content
Snippets Groups Projects
Commit d45e5f8c authored by Damien George's avatar Damien George
Browse files

py: Add mp_errno_to_str() and use it to provide nicer OSError msgs.

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.
parent 47bf6ba6
Branches
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment