Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-106320: Move _PyMethodWrapper_Type to internal C API#107064

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
vstinner merged 1 commit intopython:mainfromvstinner:method_wrapper_type
Jul 22, 2023

Conversation

vstinner
Copy link
Member

@vstinnervstinner commentedJul 22, 2023
edited by bedevere-bot
Loading

@vstinnervstinnerenabled auto-merge (squash)July 22, 2023 20:49
@vstinnervstinner merged commitee15844 intopython:mainJul 22, 2023
@vstinnervstinner deleted the method_wrapper_type branchJuly 22, 2023 21:05
jtcave pushed a commit to jtcave/cpython that referenced this pull requestJul 23, 2023
mementum pushed a commit to mementum/cpython that referenced this pull requestJul 23, 2023
@pmiloslavsky
Copy link

Hi Victor, we were using _PyMethodWrapper_Type in our C extension code, what can we check now?

if (mthd && PyObject_TypeCheck(mthd, &_PyMethodWrapper_Type)) {

@vstinner
Copy link
MemberAuthor

Hi Victor, we were using _PyMethodWrapper_Type in our C extension code, what can we check now?

You can get the type from the Python moduletypes.MethodWrapperType.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@vstinner@pmiloslavsky@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp