[Python-Dev] Evil reference cycles caused Exception.traceback (original) (raw)

Victor Stinner victor.stinner at gmail.com
Mon Sep 18 06🔞21 EDT 2017


2017-09-18 12:07 GMT+02:00 Nick Coghlan <ncoghlan at gmail.com>:

I wonder if it might be reasonable to have tracebacks only hold a weak reference to their frame objects when "debug == False".

Please don't change the Python behaviour depending on debug, or it will be a nightmare to debug it :-( ("Why does it work on my computer?")

Victor



More information about the Python-Dev mailing list