[Python-bugs-list] [ python-Bugs-762198 ] bug in signal.signal -- raises SystemError

SourceForge.net noreply@sourceforge.net
Mon, 30 Jun 2003 09:06:32 -0700


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

Category: Python Library
Group: Python 2.2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Jim McCoy (mccoy)
Assigned to: Nobody/Anonymous (nobody)
Summary: bug in signal.signal -- raises SystemError

Initial Comment:
Summary pretty much says it all.  Using Py2.2.3, win2k 
(sp4), and twisted 1.0.5 and the call that is triggering the 
error is as follows:

signal.signal(signal.SIGINT, self.sigInt)

returns "SystemError: error return without exception set"

The twisted gang has tracked it down to a C error of some 
sort here...


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

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

Message:
Logged In: YES 
user_id=6380

I don't have Win2K, but on Win98 I can't reproduce it.

The bug report is pretty incomplete -- the call doesn't seem
to need Twisted, so what I tried was this:

>>> from signal import *
>>> signal(SIGINT, lambda *a: None)

This returns the previous handler as it should.

So please, send more precise data about the problem, or be
ignored.

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

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