Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork8.1k
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
tacaswell commentedJan 27, 2023
I think it is worth the risk to backport memory-leak fixes. |
tacaswell commentedJan 27, 2023
The flake8 is understood and fixed else where already. |
richardsheridan commentedJan 27, 2023
This could lead to user breakage since things that were once immortal are now possibly short lived, just like in the original issue. |
richardsheridan commentedJan 27, 2023
Maybe that was a hasty comment. They should live until someone calls |
Uh oh!
There was an error while loading.Please reload this page.
ksunden commentedFeb 3, 2023
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? |
richardsheridan commentedFeb 4, 2023
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
pytestpasses)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.rstornext_api_changes/README.rst