[Python-3000] The future of exceptions
greg.ewing at canterbury.ac.nz
Mon Sep 4 01:04:25 CEST 2006
Brett Cannon wrote:
> Basically. Memory usage goes up if you do this as it stands now.
I'm not sure I follow that. The traceback gets created anyway,
so how is it going to use more memory if it's attached to a
throwaway exception instead of kept in a sys variable?
If you keep the exception around, that would keep the
traceback too, but how often are exceptions kept for long
periods after being caught?
More information about the Python-3000