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 serhiy.storchaka
Date 2012-10-18.11:59:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1350561590.48.0.466518610474.issue16277@psf.upfronthosting.co.za>
In-reply-to
Content
Preprocessor directives emit error in PyLong_FromVoidPtr:

PyLong_FromVoidPtr: sizeof(void*) > sizeof(long), but no long long

if HAVE_LONG_LONG not defined.

Here is a patch which adds missing branch (lost somewhere in 2->3 translation).  Also removed non-needed optimization which can cause undefined behavior (C Standard not guarantee (long long)NULL == 0).
History
Date User Action Args
2012-10-18 11:59:50serhiy.storchakasetrecipients: + serhiy.storchaka
2012-10-18 11:59:50serhiy.storchakasetmessageid: <1350561590.48.0.466518610474.issue16277@psf.upfronthosting.co.za>
2012-10-18 11:59:50serhiy.storchakalinkissue16277 messages
2012-10-18 11:59:50serhiy.storchakacreate