Opened 5 years ago

Closed 5 years ago

#27020 closed Cleanup/optimization (fixed)

Close more files with "with"

Reported by: Ville Skyttä Owned by: nobody
Component: Uncategorized Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


A few file-like objects across the tree could be closed more explicitly/eagerly, and also on error.

Change History (1)

comment:1 Changed 5 years ago by Tim Graham <timograham@…>

Resolution: fixed
Status: newclosed

In a2fb2b3a:

Fixed #27020 -- Used a context manager to close files.

Note: See TracTickets for help on using tickets.
Back to Top