diff options
author | stijn <stijn@ignitron.net> | 2022-09-12 14:45:39 +0200 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2022-09-19 23:44:50 +1000 |
commit | 9ae8d3820474a9525d707b1e19f7703721aec1c8 (patch) | |
tree | e3771befbb0b352ea8b0d488d8064d39c2e988b8 /tests/unix/ffi_float.py.exp | |
parent | fb77be150636090d69460578ed8458d84db02614 (diff) | |
download | micropython-9ae8d3820474a9525d707b1e19f7703721aec1c8.tar.gz micropython-9ae8d3820474a9525d707b1e19f7703721aec1c8.zip |
extmod/vfs_posix_file: Implement finaliser for files.
Prevent handle leaks when file objects aren't closed explicitly and
fix some MICROPY_CPYTHON_COMPAT issues: this wasn't properly adhered
to because #ifdef was used so it was always on, and closing files
multiple times should be avoided unconditionally.
Diffstat (limited to 'tests/unix/ffi_float.py.exp')
0 files changed, 0 insertions, 0 deletions