| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Rather, preemptively cache the reference loop by explicitly dropping the traceback. See also db0c7c3.
|
Do you know that passing None is allowed and not only works by chance? AFAICS, the docs only speak about passing another trackback. If this is not officially supported, we run into the danger that future Python versions break the solution. |
Sorry, something went wrong.
|
Not sure about docs, but it is type hinted as accepting None: |
Sorry, something went wrong.
|
Ok, in that case it should be fine. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Rather, preemptively cache the reference loop by explicitly dropping the traceback.
See also db0c7c3 (#25470) for a longer description of the problem in another context.
(@tacaswell: I wonder whether using with_traceback(None) would have been a cleaner solution in #25470?)
PR summary
PR checklist