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 serhiy.storchaka
Recipients ethan.furman, giampaolo.rodola, gvanrossum, neologix, python-dev, serhiy.storchaka, vstinner
Date 2015-01-24.12:59:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1422104352.15.0.227580229611.issue21076@psf.upfronthosting.co.za>
In-reply-to
Content
Now signal.signal() accepts inappropriate types.

>>> signal.signal(signal.SIGHUP, 0.0)
<Handlers.SIG_DFL: 0>
>>> signal.signal(signal.SIGHUP, '0')
<Handlers.SIG_DFL: 0>

In 3.4 it raised an exception.
History
Date User Action Args
2015-01-24 12:59:12serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, vstinner, giampaolo.rodola, neologix, ethan.furman, python-dev
2015-01-24 12:59:12serhiy.storchakasetmessageid: <1422104352.15.0.227580229611.issue21076@psf.upfronthosting.co.za>
2015-01-24 12:59:12serhiy.storchakalinkissue21076 messages
2015-01-24 12:59:12serhiy.storchakacreate