Exception not captured

Nick Coghlan ncoghlan at iinet.net.au
Tue Jan 11 09:34:54 EST 2005


Miki Tebeka wrote:
> I get to the second "except" clause, and the printout is:
> /home/mikit/work/nightly/scm/common.py:3
> /home/mikit/work/nightly/scm/common.py:3
> False
> 
> How is this possible?

Is line 3 inside a function? Then the class will be recreated anew each time the 
function is run.

Has common.py been reload()'ed at some point? Then previously imported modules 
may still have names bound to the old instances.

And so forth.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at email.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://boredomandlaziness.skystorm.net



More information about the Python-list mailing list