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
cc3200
embed
esp32
esp8266 all: Update extmod, ports, examples to build with new berkeley-db lib. 2024-03-16 12:19:12 +11:00
mimxrt
minimal
nrf nrf/boards: Enable MICROPY_HW_ENABLE_USBDEV on boards with USB CDC. 2024-03-16 00:40:39 +11:00
pic16bit
powerpc
qemu-arm
renesas-ra
rp2
samd
stm32 stm32/boards/ARDUINO_PORTENTA_H7: Enable OpenAMP. 2024-03-15 18:11:28 +11:00
unix
webassembly
windows py/objdeque: Expand implementation to be doubly-ended and support iter. 2024-03-18 14:10:14 +11:00
zephyr