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 serhiy.storchaka
Recipients ajaksu2, christian.heimes, petri.lehtinen, pitrou, r.david.murray, serhiy.storchaka, tzimmo
Date 2012-10-24.20:38:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1351111092.29.0.352422587177.issue2005@psf.upfronthosting.co.za>
In-reply-to
Content
I suggest use PyLong_AsLongAndOverflow/PyLong_AsLongLongAndOverflow and then PyLong_AsUnsignedLong/PyLong_AsUnsignedLongLong in case if positive overflow. Perhaps you need also special converters for "O&" format in PyArg_ParseTuple. This issue is not as easy as it seemed. ;-)
History
Date User Action Args
2012-10-24 20:38:12serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, christian.heimes, ajaksu2, r.david.murray, petri.lehtinen, tzimmo
2012-10-24 20:38:12serhiy.storchakasetmessageid: <1351111092.29.0.352422587177.issue2005@psf.upfronthosting.co.za>
2012-10-24 20:38:12serhiy.storchakalinkissue2005 messages
2012-10-24 20:38:12serhiy.storchakacreate