[Patches] [ python-Patches-559250 ] more POSIX signal stuff

noreply@sourceforge.net noreply@sourceforge.net
Thu, 23 May 2002 06:49:11 -0700


Patches item #559250, was opened at 2002-05-22 15:59
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=559250&group_id=5470

Category: Modules
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Hudson (mwh)
Assigned to: Nobody/Anonymous (nobody)
Summary: more POSIX signal stuff

Initial Comment:
I got annoyed with Python not having sigsuspend et al,
so I wrote this.

It's not finished yet:

it doesn't do autoconf checks, so if you don't have
posix signal handling, it ain't gonna compile)

it doesn't do docs.

it doesn't do full-on sigaction (because that's not
what I was after).

but first I thought I'd see if any of the more unix
savvy Pythoneers (Martin? Barry?) could see any
enormous flaws in the approach...

It does seem to work, so far.

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

>Comment By: Michael Hudson (mwh)
Date: 2002-05-23 13:49

Message:
Logged In: YES 
user_id=6656

Try this instead.  Definitely a good call on the interface
front.

Still same caveats.

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

Comment By: Michael Hudson (mwh)
Date: 2002-05-23 09:52

Message:
Logged In: YES 
user_id=6656

Hmm, fair point.  I just got carried away :)

Patch later.

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

Comment By: Martin v. Löwis (loewis)
Date: 2002-05-22 17:07

Message:
Logged In: YES 
user_id=21627

I wonder whether we have to expose the API for signal sets.
Couldn't we just use lists/tuples of integers? This ought to
be similar to the processing of FD_SETs in select.

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

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