malthe commented on pull request #22475:
URL: https://github.com/apache/airflow/pull/22475#issuecomment-1077262263


   @potiuk but isn't using `tempfile.TemporaryDirectory` without entering the 
context manager simply a mistake? I don't think one should rely on the 
finalizer behavior in order to close such resources.
   
   That said, this is much better (exiting outside of the try/finally block) – 
but why are we even having a try/finally-block at all.
   
   The exception clause catches everything.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to