Skip to content

bpo-36922: use Py_TPFLAGS_METHOD_DESCRIPTOR in lookup_maybe_method()#13865

Merged
methane merged 2 commits into
python:masterfrom
jdemeyer:pep590_lookup_maybe_method
Jun 17, 2019
Merged

bpo-36922: use Py_TPFLAGS_METHOD_DESCRIPTOR in lookup_maybe_method()#13865
methane merged 2 commits into
python:masterfrom
jdemeyer:pep590_lookup_maybe_method

Conversation

@jdemeyer

@jdemeyer jdemeyer commented Jun 6, 2019

Copy link
Copy Markdown
Contributor

lookup_maybe_method is an obvious place where the use case of Py_TPFLAGS_METHOD_DESCRIPTOR applies.

IMHO, this is safe enough for 3.8 but the reviewer should judge that.

CC @encukou @vstinner

https://bugs.python.org/issue36922

@jdemeyer

Copy link
Copy Markdown
Contributor Author

CC @methane

@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @jdemeyer for the PR, and @methane for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

@bedevere-bot

Copy link
Copy Markdown

GH-14155 is a backport of this pull request to the 3.8 branch.

@methane

methane commented Jun 17, 2019

Copy link
Copy Markdown
Member

OK, I think this is safe enough, and this is part of PEP 590 implementation.
Polishing a new feature in beta period is allowed when it is safe enough.

@jdemeyer

Copy link
Copy Markdown
Contributor Author

Thanks!

@jdemeyer
jdemeyer deleted the pep590_lookup_maybe_method branch June 17, 2019 11:55
miss-islington added a commit that referenced this pull request Jun 17, 2019
…H-13865)

(cherry picked from commit 2e9954d)

Co-authored-by: Jeroen Demeyer <J.Demeyer@UGent.be>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants