9ae8d38204
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.
17 lines
203 B
Plaintext
17 lines
203 B
Plaintext
/
|
|
True
|
|
<class 'tuple'>
|
|
<class 'list'>
|
|
<io.TextIOWrapper 2>
|
|
hello
|
|
next_file_no <= base_file_no True
|
|
['test2']
|
|
['test2']
|
|
<class 'tuple'>
|
|
<class 'str'>
|
|
<class 'bytes'>
|
|
[]
|
|
remove OSError
|
|
False
|
|
rmdir OSError
|