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 mark.dickinson, serhiy.storchaka
Date 2012-09-20.20:49:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348174160.31.0.541120761381.issue15989@psf.upfronthosting.co.za>
In-reply-to
Content
Getting a C int out of a Python int is currently a bit awkward.  What do you think about adding a PyLong_AsInt counterpart to PyLong_AsLong?  (The alternative is to use PyLong_AsLong and repeat the same overflow detection code in many places.)
History
Date User Action Args
2012-09-20 20:49:20mark.dickinsonsetrecipients: + mark.dickinson, serhiy.storchaka
2012-09-20 20:49:20mark.dickinsonsetmessageid: <1348174160.31.0.541120761381.issue15989@psf.upfronthosting.co.za>
2012-09-20 20:49:19mark.dickinsonlinkissue15989 messages
2012-09-20 20:49:19mark.dickinsoncreate