micropython/shared
Jim Mussared 198311c780 py/stream: Add mp_stream___exit___obj that calls mp_stream_close.
There are enough places that implement __exit__ by forwarding directly to
mp_stream_close that this saves code size.

For the cases where __exit__ is a no-op, additionally make their
MP_STREAM_CLOSE ioctl handled as a no-op.

This work was funded through GitHub Sponsors.

Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
2023-07-21 18:49:03 +10:00
..
libc shared/libc/printf: Fix stdout destination for putchar and puts. 2023-05-31 16:08:44 +10:00
memzip all: Fix various Python coding inconsistencies found by ruff. 2023-05-02 16:14:45 +10:00
netutils all: Fix spelling mistakes based on codespell check. 2023-04-27 18:03:06 +10:00
readline
runtime py/stream: Add mp_stream___exit___obj that calls mp_stream_close. 2023-07-21 18:49:03 +10:00
timeutils
tinyusb shared/tinyusb: Avoid symbol clash on targets with external TinyUSB. 2023-07-20 23:55:42 +10:00
upytesthelper py/modsys: Allow sys.path to be assigned to. 2023-06-08 17:54:24 +10:00
README.md

README.md

This directory contains libraries, utilities and helper code developed specifically for this project. The code is intended to be portable and usable by any port.