limitations of current logging package

Vinay Sajip vinay_sajip at
Mon Oct 4 10:03:41 EDT 2004

> I take it this is yet another of the changes that was made
> only in post-Python-2.3, because in 2.3.4 it does not behave
> that way.  If exc_info is set to anything, it is overwritten
> with sys.exc_info().

Yes. The code in CVS does this:

        if exc_info:
            if type(exc_info) != types.TupleType:
                exc_info = sys.exc_info()



More information about the Python-list mailing list