Skip to content

MAINT: ensure file is closed - #162

Open
andyfaff wants to merge 1 commit into
reflectivity:mainfrom
andyfaff:fi
Open

MAINT: ensure file is closed#162
andyfaff wants to merge 1 commit into
reflectivity:mainfrom
andyfaff:fi

Conversation

@andyfaff

@andyfaff andyfaff commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

This is needed to ensure that a resource is definitely closed. At the moment the close doesn't happen if there's an exception raised after the yield, but before the file is closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant