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 pitrou
Recipients amaury.forgeotdarc, mark.dickinson, pitrou, python-dev, serhiy.storchaka, sjoerd, skrah, vstinner
Date 2013-02-11.07:33:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1360567835.3442.2.camel@localhost.localdomain>
In-reply-to <1360567798.06.0.912333545003.issue4591@psf.upfronthosting.co.za>
Content
> > (perhaps we need as PyNumber_AsLongIndex() to do the direct conversion
> > to a C long, it would make things easier in many cases)
> 
> +1, but drop the 'Index' part of the name, to match the existing
> PyNumber_AsSsize_t.

There's already PyNumber_Long() (which doesn't use __index__), hence the
possible confusion.
Note there is also PyIndex_Check(), so we could call it
PyIndex_AsLong().
History
Date User Action Args
2013-02-11 07:33:44pitrousetrecipients: + pitrou, sjoerd, amaury.forgeotdarc, mark.dickinson, vstinner, skrah, python-dev, serhiy.storchaka
2013-02-11 07:33:44pitroulinkissue4591 messages
2013-02-11 07:33:44pitroucreate