summaryrefslogtreecommitdiffstatshomepage
path: root/tests/io/file-stdio.py
diff options
context:
space:
mode:
authorJeff Epler <jepler@gmail.com>2025-06-01 19:19:51 +0200
committerDamien George <damien@micropython.org>2025-06-10 15:32:54 +1000
commit0a98f3a91130d127c937d6865ead24b6693182eb (patch)
tree81389ca5b294044edb3bbbdac7de5d544f818f94 /tests/io/file-stdio.py
parentc1629dc2ff12a92d600b5988827566f8d693cad1 (diff)
downloadmicropython-0a98f3a91130d127c937d6865ead24b6693182eb.tar.gz
micropython-0a98f3a91130d127c937d6865ead24b6693182eb.zip
py/objarray: Allow extending array with any iterable.
As suggested by @dpgeorge, factor out part of array_construct to allow it to be used for construction & extension. Note that extending with a known-length list (or tuple) goes through the slow path of calling array_extend once per element. Fixes issue #7408. Signed-off-by: Jeff Epler <jepler@gmail.com>
Diffstat (limited to 'tests/io/file-stdio.py')
0 files changed, 0 insertions, 0 deletions