New submission from Anselm Kruis <a.kr...@science-computing.de>: 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. ---------- components: Interpreter Core messages: 305164 nosy: anselm.kruis priority: normal severity: normal status: open title: Please define the flag METH_STACKLESS for Stackless Python type: enhancement versions: Python 3.7, Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31890> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com