[ python-Bugs-1396258 ] KeyboardInterrupt prevents return to Windows console

SourceForge.net noreply at sourceforge.net
Tue Jan 3 21:04:59 CET 2006


Bugs item #1396258, was opened at 2006-01-03 13:04
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1396258&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Threads
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Vernon Cole (kf7xm)
Assigned to: Nobody/Anonymous (nobody)
Summary: KeyboardInterrupt prevents return to Windows console

Initial Comment:
Environment: Python 2.4, Windows 2000 Professional,
windows command prompt.

Python is using a join(), waiting for threads to
finish, when a KeyboardInterrupt occurs.  (A
KeyboardInterrupt handler is defined for the main thread.) 

The handler appears to work as expected, but control is
never returned to Windows, leaving the console window
unusable.

Directions to reproduce bug:
1) run the attached program from a console prompt like:
c:\mydir> threadingSample.py
2) when the program suggests, hit <Ctrl-C>


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

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


More information about the Python-bugs-list mailing list