pylev icon indicating copy to clipboard operation
pylev copied to clipboard

fix: close file after opening

Open maxbachmann opened this issue 2 years ago • 1 comments
trafficstars

You must always close a file after opening it. The current code might not work on Windows + PyPy, since it's assuming the garbage collector will run (which it won't on PyPy) & the file descriptor will be released (which is required on Windows).

maxbachmann avatar Apr 04 '23 22:04 maxbachmann

@toastdriven can we get this merged?

maxbachmann avatar May 27 '23 10:05 maxbachmann

closing since at this point the project seems to be unmaintained

maxbachmann avatar Jul 16 '24 13:07 maxbachmann