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 gregory.p.smith
Recipients dmacnet, gregory.p.smith, python-dev
Date 2016-06-03.06:24:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464935091.68.0.509341567194.issue27167@psf.upfronthosting.co.za>
In-reply-to
Content
So this is mostly done... one oddity which may warrant improvement though: signal numbers have multiple names.  ie: SIGABRT is also known as SIGIOT, etc.

This is likely to be confusing to if the error message is surfaced to the user as most users only know one common name rather than all of them as described in their system headers or the signal(7) man page.

I'd rather Python not be in the business of picking which name is more popular, but it can generate different error messages for the same signal across repeated runs due to hash randomization changing the order of the map in the signal.Signals type.

run  python3.5 -c 'import signal; print(signal.Signals(6))'  a handful of times to see this.
History
Date User Action Args
2016-06-03 06:24:51gregory.p.smithsetrecipients: + gregory.p.smith, python-dev, dmacnet
2016-06-03 06:24:51gregory.p.smithsetmessageid: <1464935091.68.0.509341567194.issue27167@psf.upfronthosting.co.za>
2016-06-03 06:24:51gregory.p.smithlinkissue27167 messages
2016-06-03 06:24:51gregory.p.smithcreate