circuitpython/unix
Paul Sokolovsky 082b12128d unix/moduselect: register(): Allow to call with duplicate file descriptor.
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.
2015-12-05 15:16:49 +02:00
..
.gitignore unix: Update .gitignore; now ignores coverage build. 2015-06-03 17:47:31 +01:00
alloc.c unix: Add target to build "minimal" uPy interpreter. 2015-01-16 18:03:01 +00:00
coverage.c unix: Fix coverage build now that mp_plat_print uses write. 2015-10-15 00:23:03 +01:00
file.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 2015-11-29 14:25:35 +00:00
gccollect.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 2015-11-29 14:25:35 +00:00
input.c unix/input: Switch to POSIX I/O for history reading/writing. 2015-11-16 07:40:56 +02:00
input.h unix: Support readline history saving to file, improves interactive usage. 2015-03-13 21:46:19 +00:00
main.c unix/main: Check pending exception at the end of code block execution. 2015-12-04 19:16:56 +02:00
Makefile unix: Use printf() implementation in terms of mp_printf(). 2015-11-22 00:44:41 +02:00
modffi.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 2015-11-29 14:25:35 +00:00
modjni.c unix/modjni: Add missing get_jclass_name() function. 2015-11-11 16:43:27 +02:00
modos.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 2015-11-29 14:25:35 +00:00
modsocket.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 2015-11-29 14:25:35 +00:00
modtermios.c py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 2015-11-29 14:25:35 +00:00
modtime.c unix/modtime: sleep(): Return early if KeyboardInterrupt is pending 2015-12-02 00:37:25 +02:00
moduselect.c unix/moduselect: register(): Allow to call with duplicate file descriptor. 2015-12-05 15:16:49 +02:00
mpconfigport_fast.h unix: Include upip as fronzen modules inside the standard interpreter. 2015-06-02 01:32:07 +03:00
mpconfigport_minimal.h py: Add MICROPY_PY_BUILTINS_FILTER, disable for minimal ports. 2015-08-20 01:05:11 +03:00
mpconfigport.h unix/mpconfigport: Typo fix in comment. 2015-12-03 01:41:26 +02:00
mpconfigport.mk modussl: SSL socket wrapper module based on axTLS. 2015-10-06 18:10:39 +03:00
mphalport.h unix: Add "uselect" module, with poll() function. 2015-11-17 00:35:57 +02:00
qstrdefsport.h unix/modsocket: Implement sockaddr() function to decode raw socket address. 2015-11-21 01:38:59 +02:00
unix_mphal.c unix/unix_mphal: Use size_t instead of mp_uint_t in stdout_tx_strn decls. 2015-11-27 14:03:53 +00:00