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 methane
Recipients georg.brandl, mark.dickinson, methane
Date 2009-06-11.00:57:37
SpamBayes Score 5.687772e-07
Marked as misclassified No
Message-id <1244681860.49.0.638804291297.issue6255@psf.upfronthosting.co.za>
In-reply-to
Content
You're right. PyInt_FromSize_t() isn't safe for unsigned long.

> Maybe a PyInt_FromUnsignedLong method would be useful?  It would be 
trivial to 
> implement.

I hope that all of py3k's PyInt_From** are in Python 2.x.
It makes maintaining extension module for both of Py2.x and Py3k a bit 
easier.
History
Date User Action Args
2009-06-11 00:57:40methanesetrecipients: + methane, georg.brandl, mark.dickinson
2009-06-11 00:57:40methanesetmessageid: <1244681860.49.0.638804291297.issue6255@psf.upfronthosting.co.za>
2009-06-11 00:57:38methanelinkissue6255 messages
2009-06-11 00:57:37methanecreate