micropython/ports
Dash Peters 7dff38fdc1 py/objdeque: Expand implementation to be doubly-ended and support iter.
Add `pop()`, `appendleft()`, and `extend()` methods, support iteration
and indexing, and initializing from an existing sequence.

Iteration and indexing (subscription) have independent configuration flags
to enable them.  They are enabled by default at the same level that
collections.deque is enabled (the extra features level).

Also add tests for checking new behavior.

Signed-off-by: Damien George <damien@micropython.org>
2024-03-18 14:10:14 +11:00
..
bare-arm shared/libc/string0: Don't deref args for n==0 case. 2023-11-07 16:01:50 +11:00
cc3200 extmod/modmachine: Add MICROPY_PY_MACHINE_RESET configuration option. 2024-03-15 12:04:37 +11:00
embed all: Prune trailing whitespace. 2024-03-07 16:25:17 +11:00
esp32 extmod/modmachine: Add MICROPY_PY_MACHINE_RESET configuration option. 2024-03-15 12:04:37 +11:00
esp8266 all: Update extmod, ports, examples to build with new berkeley-db lib. 2024-03-16 12:19:12 +11:00
mimxrt mimxrt: Define the MICROPY_HW_ENABLE_USBDEV macro. 2024-03-15 13:37:42 +11:00
minimal minimal: Use printf instead of echo -e. 2024-02-15 16:36:22 +11:00
nrf nrf/boards: Enable MICROPY_HW_ENABLE_USBDEV on boards with USB CDC. 2024-03-16 00:40:39 +11:00
pic16bit all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
powerpc py/mpconfig: Disable qstr hashing at minimum feature level. 2024-01-25 16:38:17 +11:00
qemu-arm all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
renesas-ra extmod/modmachine: Add MICROPY_PY_MACHINE_RESET configuration option. 2024-03-15 12:04:37 +11:00
rp2 rp2: Enable support for Python USB devices. 2024-03-15 14:24:52 +11:00
samd samd: Enable support for Python USB devices. 2024-03-15 14:24:52 +11:00
stm32 stm32/boards/ARDUINO_PORTENTA_H7: Enable OpenAMP. 2024-03-15 18:11:28 +11:00
unix all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
webassembly all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00
windows py/objdeque: Expand implementation to be doubly-ended and support iter. 2024-03-18 14:10:14 +11:00
zephyr all: Remove the "STATIC" macro and just use "static" instead. 2024-03-07 14:20:42 +11:00