Skip to content

bpo-31890: define METH_STACKLESS#4159

Merged
vstinner merged 2 commits intopython:masterfrom
akruis:bpo31890_add_meth_stackless
Nov 2, 2017
Merged

bpo-31890: define METH_STACKLESS#4159
vstinner merged 2 commits intopython:masterfrom
akruis:bpo31890_add_meth_stackless

Conversation

@akruis
Copy link
Copy Markdown

@akruis akruis commented Oct 28, 2017

Add METH_STACKLESS to prevent future collisions.

https://bugs.python.org/issue31890

Add METH_STACKLESS to prevent future collisions.
akruis pushed a commit to akruis/cpython that referenced this pull request Oct 29, 2017
Copy link
Copy Markdown
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we already have Py_TPFLAGS_HAVE_STACKLESS_EXTENSION, I think that it's ok to add METH_STACKLESS as well.

I just proposed to remove the end of your comment ;-)

#define METH_FASTCALL 0x0080
#endif

/* This bit is preserved for Stackless Python, next after this is 0x0200 */
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMHO you can remove ", next after this is 0x0200".

Changed comment as suggested by Victor.
@vstinner vstinner merged commit 9e33973 into python:master Nov 2, 2017
embray pushed a commit to embray/cpython that referenced this pull request Nov 9, 2017
Add METH_STACKLESS to prevent future collisions.
@akruis akruis deleted the bpo31890_add_meth_stackless branch January 12, 2019 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants