[Patches] [ python-Patches-761863 ] readline module that checks signals

SourceForge.net noreply@sourceforge.net
Mon, 30 Jun 2003 09:22:03 -0700


Patches item #761863, was opened at 2003-06-27 10:22
Message generated for change (Comment added) made by gvanrossum
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=761863&group_id=5470

Category: Modules
Group: Python 2.2.x
Status: Open
Resolution: None
Priority: 5
Submitted By: Keith Dart (kdart)
Assigned to: Nobody/Anonymous (nobody)
Summary: readline module that checks signals

Initial Comment:
Attached is a patch against the readline module that
hooks the readline event hook to call the
PyErr_CheckSignals(). This way, Python signal handlers
get run even if you are sitting at a readline prompt
(where they didn't before). this solves a long-standing
annoyance for me. whew.



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

>Comment By: Guido van Rossum (gvanrossum)
Date: 2003-06-30 12:22

Message:
Logged In: YES 
user_id=6380

Sorry, I don't think this is correct. The code ignores
errors from PyErr_CheckSignals(). What will happen to an
exception raised by the handler call?


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

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