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 christian.heimes
Recipients altendky, christian.heimes
Date 2016-09-20.17:00:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474390835.8.0.318141908132.issue28215@psf.upfronthosting.co.za>
In-reply-to
Content
The constant is an unsigned long but PyModule_AddIntConstant() takes a signed long. You have to write your own function that uses PyLong_FromUnsignedLong() and PyModule_AddObject().

Do you get a compiler warning because 0x80000000U is larger than (1<<31)-1?
History
Date User Action Args
2016-09-20 17:00:35christian.heimessetrecipients: + christian.heimes, altendky
2016-09-20 17:00:35christian.heimessetmessageid: <1474390835.8.0.318141908132.issue28215@psf.upfronthosting.co.za>
2016-09-20 17:00:35christian.heimeslinkissue28215 messages
2016-09-20 17:00:35christian.heimescreate