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 anselm.kruis
Recipients anselm.kruis
Date 2017-10-28.17:06:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1509210414.45.0.213398074469.issue31890@psf.upfronthosting.co.za>
In-reply-to
Content
The header Include/methodobject.h defines ml_flags METH_xxx.

Stackless Python adds the flag METH_STACKLESS. Traditionally Stackless used bit 0x0080 for METH_STACKLESS, but starting with C-Python 3.6 bit 0x0080 is used for METH_FASTCALL. 

In order to prevent future conflicts, I propose to add METH_STACKLESS to methodobject.h. 

#ifdef STACKLESS
#define METH_STACKLESS 0x0100
#else
#define METH_STACKLESS 0x0000
#endif

Include/object.h already contains a similar definition.
History
Date User Action Args
2017-10-28 17:06:54anselm.kruissetrecipients: + anselm.kruis
2017-10-28 17:06:54anselm.kruissetmessageid: <1509210414.45.0.213398074469.issue31890@psf.upfronthosting.co.za>
2017-10-28 17:06:54anselm.kruislinkissue31890 messages
2017-10-28 17:06:54anselm.kruiscreate