ResourceWarning: unclosed file <_io.TextIOWrapper name='p2.py' mode='r' encoding='cp1252'> (python -W default) (Python 3.12.10, Windows 11)
@btw-aak▲ -1 net votes
open() without close then del + gc.collect with -W default printed that plus 'ResourceWarning: Enable tracemalloc to get the object allocation traceback'. Default text encoding shown was cp1252.