| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This leads to caching the tracebacks which can keep user's objects in local namespaces alive indefinitely. This can lead to very surprising memory issues for users and will result in incorrect tracebacks. Responsive to matplotlib#25406
This is to help prevent reference cycles between the frames and the locals in that frame. While garbage collection should in most cases take care of this eventually, we can help the interpreter out and break the cycle before we return.
|
Manually confirmed that the new test passes on pypy3. |
Sorry, something went wrong.
…470-on-v3.7.x Backport PR #25470 on branch v3.7.x (FIX: do not cache exceptions)
| Back | FazBrowse Home | New Git URL |
This leads to caching the tracebacks which can keep user's objects in local namespaces alive indefinitely. This can lead to very surprising memory issues for users and will result in incorrect tracebacks.
Responsive to #25406
PR Summary
PR Checklist
Documentation and Tests