Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
fix FigureCanvasTkAgg memory leak via weakrefs#25097
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
fix FigureCanvasTkAgg memory leak via weakrefs#25097
Uh oh!
There was an error while loading.Please reload this page.
Conversation
I think it is worth the risk to backport memory-leak fixes. |
The flake8 is understood and fixed else where already. |
This could lead to user breakage since things that were once immortal are now possibly short lived, just like in the original issue. |
Maybe that was a hasty comment. They should live until someone calls |
Uh oh!
There was an error while loading.Please reload this page.
Okay, having convinced myself that these changeswork I think it seems fine. @richardsheridan are you still thinking that things may betoo short lived, or was that last comment pretty convinced it is okay? |
I'm satisfied that those binds won't be released too early from any practical user perspective. |
PR Summary
Fixes#24820
May be worth checking if the memory leak tests can be tightened.
PR Checklist
Documentation and Tests
pytest
passes)Release Notes
.. versionadded::
directive in the docstring and documented indoc/users/next_whats_new/
.. versionchanged::
directive in the docstring and documented indoc/api/next_api_changes/
next_whats_new/README.rst
ornext_api_changes/README.rst