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 georg.brandl, mark.dickinson, methane
Date 2009-06-10.20:16:38
SpamBayes Score 2.3179523e-09
Marked as misclassified No
Message-id <1244665000.57.0.0620677279524.issue6255@psf.upfronthosting.co.za>
In-reply-to
Content
It seems to me that PyInt_FromSize_t() wouldn't be the right way to create a Python 
int from a C unsigned long anyway, since there's no guarantee that C's unsigned 
long and size_t have the same precision.

(I'm not disputing that PyInt_FromSize_t should be documented, by the way.)

Maybe a PyInt_FromUnsignedLong method would be useful?  It would be trivial to 
implement.
History
Date User Action Args
2009-06-10 20:16:40mark.dickinsonsetrecipients: + mark.dickinson, georg.brandl, methane
2009-06-10 20:16:40mark.dickinsonsetmessageid: <1244665000.57.0.0620677279524.issue6255@psf.upfronthosting.co.za>
2009-06-10 20:16:38mark.dickinsonlinkissue6255 messages
2009-06-10 20:16:38mark.dickinsoncreate