Andrew MacIntyre <andymac@bullseye.apana.org.au> writes: > On Mon, 27 May 2002 mwh@users.sourceforge.net wrote: > > > Update of /cvsroot/python/python/dist/src/Lib/test > > In directory usw-pr-cvs1:/tmp/cvs-serv24806/Lib/test > > > > Modified Files: > > test_signal.py > > Log Message: > > This is patch > > > > [ 559250 ] more POSIX signal stuff > > > > Adds support (and docs and tests and autoconfery) for posix signal > > mask handling -- sigpending, sigprocmask and sigsuspend. > > Since this batch of checkins, my FreeBSD autobuilder is failing Oh, um, good. > test_socket: > test test_signal failed -- HUP not pending > > Running the test with -v yields: > test_signal > + sleep 2 > starting pause() loop... > call pause()... > + kill -5 33123 > + sleep 2 > handlerA (5, <frame object at 0x8163e0c>) > pause() returned > call pause()... > + kill -2 33123 > + sleep 2 > handlerB (2, <frame object at 0x8163e0c>) > HandlerBCalled exception caught > call pause()... > + kill -3 33123 > KeyboardInterrupt (assume the alarm() went off) > blocking SIGHUP > sending SIGHUP > test test_signal failed -- HUP not pending > 1 test failed: > test_signal > > > I found the following (apparently) signal related items in the autoconf > generated pyconfig.h: > /* Define to 1 if you have the <signal.h> header file. */ > #define HAVE_SIGNAL_H 1 > > /* Define to 1 if you have the `sigprocmask' function. */ > #define HAVE_SIGPROCMASK 1 The above tests wouldn't have run without this symbol being defined (it's the new one). > /* Define to 1 if you have the `sigrelse' function. */ > /* #undef HAVE_SIGRELSE */ > > {...} > > /* Define as the return type of signal handlers (`int' or `void'). */ > #define RETSIGTYPE void > > > Any hints about where to start looking? > (I'm not au fait with signal() magic :-() Let me try playing on the sf compile farm first. Cheers, M.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4