forgetting state

Sibylle Koczian Sibylle.Koczian at Bibliothek.Uni-Augsburg.de
Tue Mar 26 07:56:37 EST 2002


Dale Strickland-Clark schrieb in Nachricht ...
>If you're debugging a program and execution stops at some point, for
>any reason, you don't want to have to completely leave your
>development environment and restart it just so you can run from the
>beginning again.
>
Exactly. But I always thought this sort of problem only crops up when I
import module A into script B and then change module A and rerun script B.

But now I had a script importing nothing at all. It stopped with an
exception, I corrected the fault - and got the same exception, citing the
old code which wasn't in the script any more! Looks as if the corrected
script wasn't read at all - but even on Windows Python isn't a human too
lazy to read a letter to the end (or so I thought).

IDE was Pythonwin.

Koczian

---
Dr. Sibylle Koczian
Universitaetsbibliothek , Abt. Naturwiss.
D-86135 Augsburg

Tel.: (0821) 598-2400, Fax : (0821) 598-2410
e-mail : Sibylle.Koczian at Bibliothek.Uni-Augsburg.DE






More information about the Python-list mailing list