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 neologix
Recipients michael.foord, neologix, pitrou, vstinner
Date 2011-07-23.23:13:08
SpamBayes Score 3.8304934e-05
Marked as misclassified No
Message-id <CAH_1eM0N8SuMXRMaMUcdJ5rxnP02AdUi9aUwc1GidPZmf0HRrA@mail.gmail.com>
In-reply-to <CAH_1eM3-XuxJhtzLrKBYyzw8NBbv0ararpY7jDfJMTGNe8_wFw@mail.gmail.com>
Content
> So I'd say the easier solution is to skip this test on OpenSolaris,
> like it's done on FreeBSD6 since issue #8263.

Another option could be to add a dummy syscall, like os.getpid(),
before checking that the handler got called - this might be enough to
have the signal delivered.
Note that this kind of test assumes that the Python signal handler is
called right after the signal is delivered, i.e. every time from the
main eval loop (I think that's true with recent Python versions, is
that true with 2.7?).
History
Date User Action Args
2011-07-23 23:13:09neologixsetrecipients: + neologix, pitrou, vstinner, michael.foord
2011-07-23 23:13:08neologixlinkissue12625 messages
2011-07-23 23:13:08neologixcreate