<br><br><div><span class="gmail_quote">On 9/3/06, <b class="gmail_sendername">Greg Ewing</b> <<a href="mailto:email@example.com">firstname.lastname@example.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Brett Cannon wrote:<br><br>> Basically. Memory usage goes up if you do this as it stands now.<br><br>I'm not sure I follow that. The traceback gets created anyway,<br>so how is it going to use more memory if it's attached to a
<br>throwaway exception instead of kept in a sys variable?</blockquote><div><br>It won't. <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
If you keep the exception around, that would keep the<br>traceback too, but how often are exceptions kept for long<br>periods after being caught?</blockquote><br>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.