Pythonwin is terrible!

David Bolen db3l at fitlinxx.com
Thu Jun 8 22:36:21 EDT 2000


"Neil Hodgson" <neilh at scintilla.org> writes:

> > 1. How do you kill an infinite loop program without killing the pythonwin
> > environment?
> 
>    You can try right-clicking on the little green python down in the lower
> right hand side of the screen and then choosing "Break into running code".
> This normally works, but sometimes it doesn't.

In particular, if the code uses broad exception clauses (for example,
plain "except") in order to attempt recoveries and continue executing,
then it's going to catch the KeyboardInterrupt exception this method
tries to generate just as any other exception, and continue execution.
If that execution is resulting in an infinite loop, well...

--
-- David
-- 
/-----------------------------------------------------------------------\
 \               David Bolen            \   E-mail: db3l at fitlinxx.com  /
  |             FitLinxx, Inc.            \  Phone: (203) 708-5192    |
 /  860 Canal Street, Stamford, CT  06902   \  Fax: (203) 316-5150     \
\-----------------------------------------------------------------------/



More information about the Python-list mailing list