Fix a bunch of potential file descriptor leaks
Some are unconditional, some are only if there were exceptions raised between the open and close. All of these were noticed when switching from pycompat.open()
a few weeks ago.
This instance will be upgraded to Heptapod 18.0.1 on 2025-07-10 between 14:00 and 15:00 UTC+2
Some are unconditional, some are only if there were exceptions raised between the open and close. All of these were noticed when switching from pycompat.open()
a few weeks ago.