[ python-Bugs-987287 ] Python 2.4a1, interpreter hanging on Keyboard Interrupt

SourceForge.net noreply at sourceforge.net
Thu Jul 8 15:29:12 CEST 2004


Bugs item #987287, was opened at 2004-07-08 15:28
Message generated for change (Settings changed) made by percivall
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=987287&group_id=5470

Category: Threads
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Simon Percivall (percivall)
>Assigned to: Michael Hudson (mwh)
Summary: Python 2.4a1, interpreter hanging on Keyboard Interrupt

Initial Comment:
This is how I hang the intepreter in 2.4a1:

python2.4
...
>>> import readline
>>> import rlcompleter
>>> import thread
>>> thread.start_new_thread((lambda: 1), ())
>>> ^C
(Python Interpreter hangs)

The ^C of course is the Keyboard interrupt. It doesn't
matter if I write something on the command line and
then press ^C, the interpreter still hangs.

This is new. The interpreter won't hang under Python
2.3.4; it won't hang under Python 2.4a0.

It specifically changed sometime thursday and friday
(Python 2.4a0 -> Python 2.4a1). This might indicate the
change logged as: "Non-main threads no longer have all
signals masked." or the change logged as: "A different
interface to readline is used." is to blame.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=987287&group_id=5470


More information about the Python-bugs-list mailing list