micropython/unix
Paul Sokolovsky cefcbb22b2 objarray: Implement array slice assignment.
This is rarely used feature which takes enough code to implement, so is
controlled by MICROPY_PY_ARRAY_SLICE_ASSIGN config setting, default off.
But otherwise it may be useful, as allows to update arbitrary-sized data
buffers in-place.

Slice is yet to implement, and actually, slice assignment implemented in
such a way that RHS of assignment should be array of the exact same item
typecode as LHS. CPython has it more relaxed, where RHS can be any sequence
of compatible types (e.g. it's possible to assign list of int's to a
bytearray slice).

Overall, when all "slice write" features are implemented, it may cost ~1KB
of code.
2015-02-27 22:17:15 +02:00
..
.gitignore unix: Update .gitignore for "fast" and "minimal" builds. 2015-01-16 18:05:31 +00:00
Makefile unix: Add "coverage" target to do coverage testing using gcov. 2015-01-29 14:54:38 +00:00
alloc.c unix: Add target to build "minimal" uPy interpreter. 2015-01-16 18:03:01 +00:00
file.c py, unix: Allow to compile with -Wunused-parameter. 2015-01-20 12:47:20 +00:00
gccollect.c unix: Add target to build "minimal" uPy interpreter. 2015-01-16 18:03:01 +00:00
input.c unix: Prefix includes with py/; remove need for -I../py. 2015-01-01 20:40:19 +00:00
input.h Add input command for unix 2014-05-07 07:19:51 -07:00
main.c py: Protect mp_parse and mp_compile with nlr push/pop block. 2015-02-07 18:33:58 +00:00
modffi.c modffi: Implement 'O' type handling for func arguments. 2015-02-25 23:38:22 +02:00
modos.c unix: Prefix includes with py/; remove need for -I../py. 2015-01-01 20:40:19 +00:00
modsocket.c py, unix: Allow to compile with -Wunused-parameter. 2015-01-20 12:47:20 +00:00
modtermios.c unix: Prefix includes with py/; remove need for -I../py. 2015-01-01 20:40:19 +00:00
modtime.c py, unix, lib: Allow to compile with -Wold-style-definition. 2015-01-12 22:34:38 +00:00
mpconfigport.h objarray: Implement array slice assignment. 2015-02-27 22:17:15 +02:00
mpconfigport.mk unix: Add target to build "minimal" uPy interpreter. 2015-01-16 18:03:01 +00:00
mpconfigport_fast.h unix: fast: Set initial module dict size big to have high pystone score. 2014-11-05 00:30:21 +02:00
mpconfigport_minimal.h unix: Add target to build "minimal" uPy interpreter. 2015-01-16 18:03:01 +00:00
qstrdefsport.h modffi: Add .addr() method to just get symbol address. 2015-02-06 00:19:43 +02:00