Guido van Rossum added the comment:

I think so.

On 10/18/07, Thomas Heller <[EMAIL PROTECTED]> wrote:
>
> Thomas Heller added the comment:
>
> > > This is tough. On the one hand you are right that different classes that
> > > have different formatException() methods aren't treated correctly; on
> > > the other hand I think the caching is important for other cases where
> > > there are multiple loggers all using the default formatException().
> > >
> > > I recommend that instead of getting rid of the cache, you fix your class
> > > by overriding format() to reset record.ex c_text and then calling the
> > > base class format() method.
>
> That is what I have been doing although I think that I have to reset
> record.exc_text also AFTER the call to format() for the following
> handlers, if any.
>
> So, should this issue be closed as 'wont fix' ?
>
> __________________________________
> Tracker <[EMAIL PROTECTED]>
> <http://bugs.python.org/issue1295>
> __________________________________
>

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1295>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to