limitations of current logging package

Vinay Sajip vinay_sajip at yahoo.co.uk
Mon Oct 4 16:03:41 CEST 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()


Regards,

Vinay



More information about the Python-list mailing list