KeyboardInterrupt Variations from Interactive Interpreters

Steve Holden sholden at holdenweb.com
Fri Oct 19 10:15:29 EDT 2001


I thought I'd try out Pythonware's PY21 minimalistic distribution. Installed
fine with no questions (not mad about where it went, but hey, you have to
pay a price for install simplicity). This is under Win98.

When I run the PY21 interpreter and enter ^C, rather than seeing the

KeyboardInterrupt
>>>

that I get with cygwin Python 2.1.1, or the no response that I see from
ActivePython 2.0 (with Gonnerman's alternative readline 1.5 installed), the
PY21 interpreter silently terminates!

Clearly there are differences between these different implementations, but
I'm not sure quite why their response to ^C is so different. Anyone with
"under the hood" knowledge care to explain it? Or am I just being a luser?

regards
 Steve
--
http://www.holdenweb.com/







More information about the Python-list mailing list