> Besides its redundancy, it also places the traceback into a > local variable > and then raises an exception -- a perfect recipe for creating a ref loop. Isnt it true that _every_ time you store a traceback object as a local variable, and that traceback has a reference to the frame holding the local, you _always_ get a reference loop, regardless of how you exit the function? ie, I believe that _every_ time you store a traceback obtained from inside an except handler, you _always_ get a ref-loop, period. The only way to clean the cycle is to explictly unbind the local from the traceback. Mark.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4