<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/unix/moduselect.c, branch v1.8.6</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.6</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.8.6'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2016-10-07T03:05:15+00:00</updated>
<entry>
<title>unix: Use mp_raise_OSError helper function.</title>
<updated>2016-10-07T03:05:15+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-10-07T03:05:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=503089ea9d6b358f1a06ad1f164561b7cf11c742'/>
<id>urn:sha1:503089ea9d6b358f1a06ad1f164561b7cf11c742</id>
<content type='text'>
</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>unix: Fix build for when MICROPY_PY_SOCKET=0.</title>
<updated>2016-09-12T06:43:56+00:00</updated>
<author>
<name>Renato Aguiar</name>
<email>contact@renatoaguiar.org</email>
</author>
<published>2016-09-08T22:13:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=081c0648ecf3f291cb8669d74f4f59ea0191e34e'/>
<id>urn:sha1:081c0648ecf3f291cb8669d74f4f59ea0191e34e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unix/moduselect: Allow poll.register(), etc. accept fd-like objects.</title>
<updated>2016-08-06T22:25:59+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2016-08-06T22:21:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=a4aaf824219818c421b85436b0bf8f67468590d9'/>
<id>urn:sha1:a4aaf824219818c421b85436b0bf8f67468590d9</id>
<content type='text'>
This includes file and socket objects, backed by Unix file descriptor.
This improves compatibility with stmhal's uselect (and convenience of
use), though not completely: return value from poll.poll() is still
raw file descriptor.
</content>
</entry>
<entry>
<title>py: Change type signature of builtin funs that take variable or kw args.</title>
<updated>2016-01-11T00:49:27+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-03T14:21:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=4b72b3a133ea87a1ef8b964508dc25c551ccf093'/>
<id>urn:sha1:4b72b3a133ea87a1ef8b964508dc25c551ccf093</id>
<content type='text'>
With this patch the n_args parameter is changed type from mp_uint_t to
size_t.
</content>
</entry>
<entry>
<title>py: Change struct and macro for builtin fun so they can be type checked.</title>
<updated>2016-01-03T11:53:44+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2016-01-03T11:53:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=1b0aab621baf081bf1cbeb38a29bd37fbc135cc7'/>
<id>urn:sha1:1b0aab621baf081bf1cbeb38a29bd37fbc135cc7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unix/moduselect: Make configurable with MICROPY_PY_USELECT.</title>
<updated>2015-12-13T06:47:42+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-12-13T06:47:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2d11b174192e77c46df2849647a3ae661d885852'/>
<id>urn:sha1:2d11b174192e77c46df2849647a3ae661d885852</id>
<content type='text'>
</content>
</entry>
<entry>
<title>unix/moduselect: Implement "one-shot" flag for poll.poll().</title>
<updated>2015-12-11T21:36:37+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-12-11T21:36:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c1481bb0ab3c7aa53963e15113dab12dca73693d'/>
<id>urn:sha1:c1481bb0ab3c7aa53963e15113dab12dca73693d</id>
<content type='text'>
After an I/O event is triggered for fd, event flags are automatically reset,
so no further events are reported until new event flags are set. This is
an optimization for uasyncio, required to account for coroutine semantics:
each coroutine issues explicit read/write async call, and once that trigger,
no events should be reported to coroutine, unless it again explicitly
requests it. One-shot mode saves one linear scan over the poll array.
</content>
</entry>
<entry>
<title>unix/moduselect: register(): Allow to call with duplicate file descriptor.</title>
<updated>2015-12-05T13:16:49+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-12-05T12:53:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=082b12128d935eaf7ac49560c90734def1d0b232'/>
<id>urn:sha1:082b12128d935eaf7ac49560c90734def1d0b232</id>
<content type='text'>
Per CPython docs, "Registering a file descriptor that’s already registered
is not an error, and has the same effect as registering the descriptor
exactly once."
https://docs.python.org/3/library/select.html#select.poll.register

That's somewhat ambiguous, what's implemented here is that if fd si not
yet registered, it is registered. Otherwise, the effect is equivalent to
modify() method.
</content>
</entry>
<entry>
<title>unix/moduselect: Support growing of poll array.</title>
<updated>2015-11-29T22:54:14+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2015-11-29T22:53:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=bd33aa313e03a9b2f07178d5a22d9891598c309f'/>
<id>urn:sha1:bd33aa313e03a9b2f07178d5a22d9891598c309f</id>
<content type='text'>
</content>
</entry>
</feed>
