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 mark.dickinson
Recipients chris.jerdonek, ezio.melotti, georg.brandl, gregory.p.smith, mark.dickinson, python-dev, serhiy.storchaka
Date 2012-12-28.10:27:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1356690440.68.0.262741421672.issue16772@psf.upfronthosting.co.za>
In-reply-to
Content
> I actually think this issue can be closed as fixed:

Ah, whoops;  I failed to understand Serhiy's comment about the still existing "if (!PyLong_Check(obase))", which does indeed mean that the code *still* doesn't work for __index__-able types.

Here's a fix for that, with tests.
History
Date User Action Args
2012-12-28 10:27:20mark.dickinsonsetrecipients: + mark.dickinson, georg.brandl, gregory.p.smith, ezio.melotti, chris.jerdonek, python-dev, serhiy.storchaka
2012-12-28 10:27:20mark.dickinsonsetmessageid: <1356690440.68.0.262741421672.issue16772@psf.upfronthosting.co.za>
2012-12-28 10:27:20mark.dickinsonlinkissue16772 messages
2012-12-28 10:27:20mark.dickinsoncreate