<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/moduerrno.c, branch v1.9.2</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.9.2</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.9.2'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2017-02-22T01:58:11+00:00</updated>
<entry>
<title>py/moduerrno: Make list of errno codes configurable.</title>
<updated>2017-02-22T01:58:11+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-02-22T01:55:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=b1b090255c5156987b36711e929544546603029c'/>
<id>urn:sha1:b1b090255c5156987b36711e929544546603029c</id>
<content type='text'>
It's configurable by defining MICROPY_PY_UERRNO_LIST.  If this is not
defined then a default is provided.
</content>
</entry>
<entry>
<title>py/moduerrno: Make uerrno.errorcode dict configurable.</title>
<updated>2017-02-22T01:58:11+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2017-02-22T01:53:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=f563406d2e342be1535592f80680c510f9aade9a'/>
<id>urn:sha1:f563406d2e342be1535592f80680c510f9aade9a</id>
<content type='text'>
It's configured by MICROPY_PY_UERRNO_ERRORCODE and enabled by default
(since that's the behaviour before this patch).

Without this dict the lookup of errno codes to strings must use the
uerrno module itself.
</content>
</entry>
<entry>
<title>all: Remove 'name' member from mp_obj_module_t struct.</title>
<updated>2016-09-21T14:23:16+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-09-21T00:52:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=93c4a6a3f70e389b466fbc7a4f1ad2e1df87c93f'/>
<id>urn:sha1:93c4a6a3f70e389b466fbc7a4f1ad2e1df87c93f</id>
<content type='text'>
One can instead lookup __name__ in the modules dict to get the value.
</content>
</entry>
<entry>
<title>py/moduerrno: Add ECONNREFUSED, one of frequent networking errors.</title>
<updated>2016-05-27T21:17:19+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-05-27T21:17:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2ec0ee082add56a0950223689e0a08fa7f8a12ac'/>
<id>urn:sha1:2ec0ee082add56a0950223689e0a08fa7f8a12ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/moduerrno: Add EEXIST, EISDIR.</title>
<updated>2016-05-24T22:23:57+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-05-24T22:23:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c76acd8c233f436204bf87f1430e7da1ea6baf8c'/>
<id>urn:sha1:c76acd8c233f436204bf87f1430e7da1ea6baf8c</id>
<content type='text'>
Useful to check file/dir operations result, in particular used by upip.
</content>
</entry>
<entry>
<title>py/moduerrno: Add EACCES, pretty common error on Unix.</title>
<updated>2016-05-12T21:15:38+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-05-12T21:09:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=10503f3534e1d00f94e5082e9c6abc42bc1817c0'/>
<id>urn:sha1:10503f3534e1d00f94e5082e9c6abc42bc1817c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py/objexcept: Don't convert errno to str in constructor, do it in print.</title>
<updated>2016-05-12T13:27:52+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-05-12T13:27:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9a9249964155f333131bbd728ffc755e80dc68a2'/>
<id>urn:sha1:9a9249964155f333131bbd728ffc755e80dc68a2</id>
<content type='text'>
OSError's are now printed like:

    OSError: [Errno 1] EPERM

but only if the string corresponding to the errno is found.
</content>
</entry>
<entry>
<title>py: Add mp_errno_to_str() and use it to provide nicer OSError msgs.</title>
<updated>2016-05-12T12:20:40+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-05-12T12:20:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d45e5f8c357d13e66aeac644e2b5ead8c734025f'/>
<id>urn:sha1:d45e5f8c357d13e66aeac644e2b5ead8c734025f</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>py/moduerrno: Add more constants to the errno module.</title>
<updated>2016-05-12T12:18:48+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-05-12T12:18:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=47bf6ba61a2f332b44471badd1e50658ae7d264c'/>
<id>urn:sha1:47bf6ba61a2f332b44471badd1e50658ae7d264c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Add uerrno module, with errno constants and dict.</title>
<updated>2016-05-10T22:30:39+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-05-10T09:54:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=596a3feb8fd3cfbaa899c23b010f79a7088863fb'/>
<id>urn:sha1:596a3feb8fd3cfbaa899c23b010f79a7088863fb</id>
<content type='text'>
</content>
</entry>
</feed>
