Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ResourceWarning: unclosed file #442

Merged
merged 2 commits into from Jan 7, 2019
Merged

Fix ResourceWarning: unclosed file #442

merged 2 commits into from Jan 7, 2019

Conversation

BoboTiG
Copy link
Contributor

@BoboTiG BoboTiG commented Jan 6, 2019

Also uniformize the usage of the with context manager to prevent resource leaks.

Signed-off-by: Mickaël Schoentgen contact@tiger-222.fr

@BoboTiG BoboTiG changed the title Fix ResourceWarning: unclosed fie Fix ResourceWarning: unclosed file Jan 6, 2019
Signed-off-by: Mickaël Schoentgen <contact@tiger-222.fr>
@ericwb ericwb merged commit 682c38b into PyCQA:master Jan 7, 2019
@BoboTiG BoboTiG deleted the fix-resource-leaks branch January 7, 2019 08:57
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.

None yet

2 participants