micropython/unix
Damien George ae8d867586 py: Add iter_buf to getiter type method.
Allows to iterate over the following without allocating on the heap:
- tuple
- list
- string, bytes
- bytearray, array
- dict (not dict.keys, dict.values, dict.items)
- set, frozenset

Allows to call the following without heap memory:
- all, any, min, max, sum

TODO: still need to allocate stack memory in bytecode for iter_buf.
2017-02-16 18:38:06 +11:00
..
coverage-frzmpy tests: Improve frozen import test coverage. 2017-01-16 16:59:03 +11:00
coverage-frzstr tests/unix/extra_coverage: Add tests for importing frozen packages. 2017-01-08 22:45:55 +11:00
scripts unix: Add symlinks for upip to make it frozen into binary. 2016-11-08 14:47:29 +11:00
.gitignore unix: Fix freedos port build problems. 2017-02-06 15:25:42 +11:00
Makefile unix: Fix freedos port build problems. 2017-02-06 15:25:42 +11:00
alloc.c unix/alloc: Make coverage build and its overzealous warnings happy. 2016-06-18 00:36:13 +03:00
coverage.c unix/coverage: Move coverage #if guard back to top of file. 2017-01-16 16:20:49 +11:00
fatfs_port.c unix/fatfs_port: Include new oofatfs header. 2017-01-27 23:22:15 +11:00
fdfile.h unix/moduselect: Allow poll.register(), etc. accept fd-like objects. 2016-08-07 01:25:59 +03:00
file.c py: Add iter_buf to getiter type method. 2017-02-16 18:38:06 +11:00
gccollect.c unix: fix symbol references for x86 Mac 2016-11-02 00:42:04 +03:00
input.c py: Change type signature of builtin funs that take variable or kw args. 2016-01-11 00:49:27 +00: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: Properly handle MICROPYPATH starting with ':'. 2017-02-07 02:13:01 +03:00
modffi.c py: Add iter_buf to getiter type method. 2017-02-16 18:38:06 +11:00
modjni.c all: Consistently update signatures of .make_new and .call methods. 2017-01-04 16:10:42 +03:00
modmachine.c unix: Use mp_raise_OSError helper function. 2016-10-07 14:05:15 +11:00
modos.c unix/modos: Remove VfsFat from uos module, it's now in uos_vfs module. 2017-01-30 12:26:08 +11:00
modsocket.c all: Remove readall() method, which is equivalent to read() w/o args. 2016-11-14 00:24:22 +03:00
modtermios.c unix: Use common RAISE_ERRNO macro from mphalport.h. 2016-10-07 14:09:59 +11:00
modtime.c windows: Implement mp_hal_ticks_cpu in terms of QueryPerformanceCounter 2016-11-03 10:31:58 +01:00
moduos_vfs.c unix: Change to use new generic VFS sub-system in coverage build. 2017-01-27 17:21:45 +11:00
moduselect.c py: Add iter_buf to getiter type method. 2017-02-16 18:38:06 +11:00
mpconfigport.h py: Added optimised support for 3-argument calls to builtin.pow() 2017-02-02 22:23:10 +03:00
mpconfigport.mk py/py.mk: Add support for building modussl_mbedtls. 2016-09-23 14:30:46 +03:00
mpconfigport_coverage.h py/objtype: Implement __delattr__ and __setattr__. 2017-02-09 12:40:15 +11:00
mpconfigport_fast.h py: Add ability to have frozen persistent bytecode from .mpy files. 2016-04-13 16:07:47 +01:00
mpconfigport_freedos.h unix: Fix freedos port build problems. 2017-02-06 15:25:42 +11:00
mpconfigport_minimal.h unix: Get minimal version compiling again. 2017-01-27 13:32:15 +11:00
mpconfigport_nanbox.h unix: Add option to build 64-bit NaN-boxing interpreter. 2016-01-15 11:12:08 +00:00
mphalport.h unix/mphalport.h: Add dummy definition of mp_hal_ticks_cpu(). 2016-10-29 17:23:05 +03:00
mpthreadport.c unix: Use mp_raise_OSError helper function. 2016-10-07 14:05:15 +11:00
mpthreadport.h unix: Implement garbage collection with threading. 2016-06-28 11:28:49 +01:00
qstrdefsport.h py: Add rules for automated extraction of qstrs from sources. 2016-04-16 13:18:09 +01:00
unix_mphal.c unix/unix_mphal: Implement mp_hal_ticks_us(). 2016-05-21 02:16:35 +03:00