[Apt-offline-devel] [apt-offline-Bug Tracker][311969] Handle KeyboardInterrupt exception

apt-offline-bugtracker at alioth.debian.org apt-offline-bugtracker at alioth.debian.org
Sat Apr 9 10:43:23 UTC 2011


Bug Tracker item #311969, was changed at 2009-09-23 09:34 by Ritesh Raj Sarraf 
You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413103&aid=311969&group_id=100399

>Status: Closed
Priority: 3
Submitted By: Ritesh Sarraf (rrs-guest)
Assigned to: Abhishek Mishra (ideamonk-guest)
Summary: Handle KeyboardInterrupt exception 


Initial Comment:
Handle KeyboardInterrupt exception in threads so that if the user sends an interrupt signal, the program should exit

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

>Comment By: Ritesh Raj Sarraf (rrs)
Date: 2011-04-09 10:43

Message:
abhishek's changes fix this issue.

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

Comment By: Ritesh Raj Sarraf (rrs)
Date: 2010-09-02 14:11

Message:
I guess Abhishek has already nailed it down and can close this bug report after confirming it.

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

Comment By: Ritesh Sarraf (rrs-guest)
Date: 2009-10-17 19:02

Message:
Lowering down the priority since this isn't an apt-offline problem.

When using threads in python, the Main thread rarely gets to get executed. signals are only handled in the Main thread. But because of the way GIL is done, Main thread almost never get to be executed thus that signal is never sent.

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

You can respond by visiting: 
https://alioth.debian.org/tracker/?func=detail&atid=413103&aid=311969&group_id=100399



More information about the Apt-offline-devel mailing list