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 vstinner
Recipients ezio.melotti, mark.dickinson, vstinner
Date 2012-09-29.16:04:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348934655.6.0.704339106877.issue16086@psf.upfronthosting.co.za>
In-reply-to
Content
"1L << 31" is undefined if long is 32 bits long. We should use unsigned long for PyTypeObject.tp_flags.

Attached patch implements this fix. I don't know if it breaks somehow the backward compatibility.

See also issues #1621 and #7406.
History
Date User Action Args
2012-09-29 16:04:15vstinnersetrecipients: + vstinner, mark.dickinson, ezio.melotti
2012-09-29 16:04:15vstinnersetmessageid: <1348934655.6.0.704339106877.issue16086@psf.upfronthosting.co.za>
2012-09-29 16:04:15vstinnerlinkissue16086 messages
2012-09-29 16:04:15vstinnercreate