Message171763
> 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?) |
|
Date |
User |
Action |
Args |
2012-10-01 23:43:35 | vstinner | set | recipients:
+ vstinner, loewis, mark.dickinson, pitrou, ezio.melotti |
2012-10-01 23:43:35 | vstinner | set | messageid: <1349135015.35.0.304151048941.issue16086@psf.upfronthosting.co.za> |
2012-10-01 23:43:35 | vstinner | link | issue16086 messages |
2012-10-01 23:43:34 | vstinner | create | |
|