On 9/3/06, Greg Ewing <[EMAIL PROTECTED]> wrote:
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?

It won't.

If you keep the exception around, that would keep the
traceback too, but how often are exceptions kept for long
periods after being caught?

Not very, but I didn't make this argument to begin with, other people did.  It was a sticking point when the idea was first put forth.  I personally supported adding the attributes, but people kept pushing against it.

-Brett
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to