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, loewis, mark.dickinson, pitrou, vstinner
Date 2012-10-01.23:43:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349135015.35.0.304151048941.issue16086@psf.upfronthosting.co.za>
In-reply-to
Content
> tp_flags type is long, not int.

Oh, I misunderstood what MvL wrote, sorry. I missed PyType_Spec structure.

Here is an updated and more complete patch. I changed the return code of PyType_GetFlags(), instead of changing PyType_HasFeature() macro.

> OTOH, a number of the flags are not considered part of the API at all (unfortunately, they aren't explicitly excluded, either). Before we make such a change, we should really declare what flags are meant to be by an extension module, and what flags are implementation details only to be used by the object runtime itself.

Can't we decide that later? (in other issue?)
History
Date User Action Args
2012-10-01 23:43:35vstinnersetrecipients: + vstinner, loewis, mark.dickinson, pitrou, ezio.melotti
2012-10-01 23:43:35vstinnersetmessageid: <1349135015.35.0.304151048941.issue16086@psf.upfronthosting.co.za>
2012-10-01 23:43:35vstinnerlinkissue16086 messages
2012-10-01 23:43:34vstinnercreate