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
ResourceWarning: unclosed file with SAGE_DEBUG=yes #28833
Comments
This comment has been minimized.
This comment has been minimized.
Branch: u/chapoton/28833 |
Author: Frédéric Chapoton |
Commit: |
comment:2
Here is a first tentative. I may have missed some. New commits:
|
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:4
green bot |
comment:5
There are a couple of others, e.g. use
but we can also postpone these for later if you rather want to merge the current state (please set to positive review in that case) |
comment:6
Let us first merge this. |
Reviewer: Volker Braun |
Changed branch from u/chapoton/28833 to |
Python 3 now emits a ResourceWarning if you use the quick'n dirty
open(...).read()
to read (or write) a file instead of a with context. This leads to lots and lots of test failures of the form:Component: graphics
Author: Frédéric Chapoton
Branch/Commit:
1db03d6
Reviewer: Volker Braun
Issue created by migration from https://trac.sagemath.org/ticket/28833
The text was updated successfully, but these errors were encountered: