<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/tests/io/bytesio_ext2.py, branch main</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2018-05-01T05:48:43+00:00</updated>
<entry>
<title>tests/io/bytesio_ext2: Remove dependency on specific EINVAL value</title>
<updated>2018-05-01T05:48:43+00:00</updated>
<author>
<name>Mike Wadsten</name>
<email>mikewadsten@gmail.com</email>
</author>
<published>2018-05-01T01:59:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=9f1eafc38092213bf59cd5dfdd803249077729c3'/>
<id>urn:sha1:9f1eafc38092213bf59cd5dfdd803249077729c3</id>
<content type='text'>
If MICROPY_USE_INTERNAL_ERRNO is disabled, MP_EINVAL is not guaranteed
to have the value 22, so we cannot depend on OSError(22,).
Instead, to support any given port's errno values, without relying
on uerrno, we just check that the args[0] is positive.
</content>
</entry>
<entry>
<title>py/stream: seek: Consistently handle negative offset for SEEK_SET.</title>
<updated>2017-08-20T19:02:41+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2017-08-20T18:57:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=e3383e9352ca7704e650b07038207719c60b56fb'/>
<id>urn:sha1:e3383e9352ca7704e650b07038207719c60b56fb</id>
<content type='text'>
Per POSIX, this is EINVAL, so raises OSError(EINVAL).
</content>
</entry>
</feed>
