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 gregory.p.smith, gvanrossum, python-dev, refi64, steven.daprano
Date 2014-10-02.21:22:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412284954.97.0.92091749702.issue22530@psf.upfronthosting.co.za>
In-reply-to
Content
thanks.  btw an alternative type check to consider in these situations: PyIndex_Check

https://docs.python.org/2/c-api/number.html#c.PyIndex_Check

but what you wrote works.
History
Date User Action Args
2014-10-02 21:22:35gregory.p.smithsetrecipients: + gregory.p.smith, gvanrossum, steven.daprano, python-dev, refi64
2014-10-02 21:22:34gregory.p.smithsetmessageid: <1412284954.97.0.92091749702.issue22530@psf.upfronthosting.co.za>
2014-10-02 21:22:34gregory.p.smithlinkissue22530 messages
2014-10-02 21:22:34gregory.p.smithcreate