Closed ktdreyer closed 6 years ago
CPython closes this immediately, but there's nothing in the Python language definition that says that the filehandle must be closed/garbage-collected. Might as well close it here using the "with" statement.
CPython closes this immediately, but there's nothing in the Python language definition that says that the filehandle must be closed/garbage-collected. Might as well close it here using the "with" statement.