22 Commits (08242eed2677cde806fd9c0de33138a8491293a2)

Author SHA1 Message Date
Paul Sokolovsky fe866d996f unix/moduselect: Properly implement ipoll object iteration. 8 years ago
Damien George ae8d867586 py: Add iter_buf to getiter type method. 9 years ago
Paul Sokolovsky 16a3534ad4 unix/moduselect: Implement ipoll() method with no-allocation policy. 8 years ago
Paul Sokolovsky 5efd6508ec unix/moduselect: Fix nanbox build with recent changes. 8 years ago
Paul Sokolovsky 093a8f5fa2 unix/moduselect: If file object passed to .register(), return it in .poll(). 8 years ago
Paul Sokolovsky 87dfc76570 unix: Rename define for unix moduselect to MICROPY_PY_USELECT_POSIX. 8 years ago
Damien George 503089ea9d unix: Use mp_raise_OSError helper function. 8 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct. 8 years ago
Renato Aguiar 081c0648ec unix: Fix build for when MICROPY_PY_SOCKET=0. 8 years ago
Paul Sokolovsky a4aaf82421 unix/moduselect: Allow poll.register(), etc. accept fd-like objects. 8 years ago
Damien George 4b72b3a133 py: Change type signature of builtin funs that take variable or kw args. 9 years ago
Damien George 1b0aab621b py: Change struct and macro for builtin fun so they can be type checked. 9 years ago
Paul Sokolovsky 2d11b17419 unix/moduselect: Make configurable with MICROPY_PY_USELECT. 9 years ago
Paul Sokolovsky c1481bb0ab unix/moduselect: Implement "one-shot" flag for poll.poll(). 9 years ago
Paul Sokolovsky 082b12128d unix/moduselect: register(): Allow to call with duplicate file descriptor. 9 years ago
Paul Sokolovsky bd33aa313e unix/moduselect: Support growing of poll array. 9 years ago
Damien George 999cedb90f py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 9 years ago
Damien George cbf7674025 py: Add MP_ROM_* macros and mp_rom_* types and use them. 9 years ago
Paul Sokolovsky 698a6a9d7d unix/moduselect: poll.register(): Reuse freed entries in poll array. 9 years ago
Paul Sokolovsky 19920e25f9 unix/moduselect: Fix bug in poll.poll() scanning loop. 9 years ago
Damien George 54df549b5f unix/moduselect: Initialise variable so can compile in non-debug mode. 9 years ago
Paul Sokolovsky 65971f5160 unix: Add "uselect" module, with poll() function. 9 years ago