This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author phr
Recipients
Date 2005-10-17.07:56:26
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=72053

How would you feel about an RFE proposing to add a default
SIGALRM handler that raises some new exception like
'AlarmInterrupt', analogous to KeyboardInterrupt that gets
raised if the user hits ^C.  I think that's more in the
Python spirit of maintaining a controlled environment where
at worst, if there's an unhandled exception, the interpreter
prints a stack trace and shuts down cleanly instead of just
blipping out of existence with i/o pending and whatnot. 
There might be some other signals that should also be caught
like that.  In fact KeyboardInterrupt, AlarmInterrupt, etc.
could all be subclasses of an Interrupt class of exceptions.
History
Date User Action Args
2007-08-23 14:35:28adminlinkissue1326841 messages
2007-08-23 14:35:28admincreate