This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients gvanrossum, theller
Date 2007-10-18.17:53:25
SpamBayes Score 0.007967175
Marked as misclassified No
Message-id <ca471dc20710181053p660b1c2fi97d302fe636ca53b@mail.gmail.com>
In-reply-to <47179CAB.7050701@ctypes.org>
Content
I think so.

On 10/18/07, Thomas Heller <report@bugs.python.org> 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 <report@bugs.python.org>
> <http://bugs.python.org/issue1295>
> __________________________________
>
History
Date User Action Args
2007-10-18 17:53:26gvanrossumsetspambayes_score: 0.00796717 -> 0.007967175
recipients: + gvanrossum, theller
2007-10-18 17:53:25gvanrossumlinkissue1295 messages
2007-10-18 17:53:25gvanrossumcreate