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-106023: Update What's New in 3.13: _PyObject_FastCall()#117633

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:whatsnew
Apr 8, 2024

Conversation

vstinner
Copy link
Member

@vstinnervstinner commentedApr 8, 2024
edited by bedevere-appbot
Loading

The function _PyObject_FastCall() was restored.
@bedevere-appbedevere-appbot added docsDocumentation in the Doc dir awaiting core review labelsApr 8, 2024
@vstinnervstinner changed the title106023: Update What's New in 3.13: _PyObject_FastCall()gh-106023: Update What's New in 3.13: _PyObject_FastCall()Apr 8, 2024
@vstinnervstinnerenabled auto-merge (squash)April 8, 2024 12:15
@vstinnervstinner merged commit9a12f5d intopython:mainApr 8, 2024
@vstinnervstinner deleted the whatsnew branchApril 8, 2024 12:19
@gvanrossum
Copy link
Member

@vstinner Are you sure that function was restored? I don't see it in my repo (I see_PyObject_FastCallDict though).

@vstinner
Copy link
MemberAuthor

Oh, wait. I was confused between _PyObject_FastCall() and _PyObject_FastCallDict() :-(

I checked each function since I was really confused about these removals and changes.

Removed, private:

  • _PyObject_FastCall()
  • _PY_FASTCALL_SMALL_STACK: moved to the internal C API

Removed, internal:

  • _PyObject_FastCallTstate()
  • _PyObject_FastCallDictTstate(): renamed to _PyObject_VectorcallDictTstate()

Kept:

  • METH_FASTCALL
  • _PyStack_AsDict()

Kept, PEP 590:

  • _PyObject_Vectorcall()
  • _PyObject_VectorcallMethod()
  • _PyVectorcall_Function()
  • _PyObject_CallOneArg()
  • _PyObject_CallMethodNoArgs()
  • _PyObject_CallMethodOneArg()
  • _PyObject_FastCallDict()
  • _Py_TPFLAGS_HAVE_VECTORCALL

vstinner added a commit to vstinner/cpython that referenced this pull requestApr 9, 2024
…l() (python#117633)"This reverts commit9a12f5d.I was wrong: the _PyObject_FastCall() function was removed. But wekept the _PyObject_FastCallDict() function.
@vstinner
Copy link
MemberAuthor

I wrote PRgh-117676 to add again the What's New entry. Even if it's a private function, I prefer to document how to update affected code for this very specific function, since I know that it's used in the wild.

vstinner added a commit that referenced this pull requestApr 9, 2024
…117633)" (#117676)This reverts commit9a12f5d.I was wrong: the _PyObject_FastCall() function was removed. But wekept the _PyObject_FastCallDict() function.
diegorusso pushed a commit to diegorusso/cpython that referenced this pull requestApr 17, 2024
diegorusso pushed a commit to diegorusso/cpython that referenced this pull requestApr 17, 2024
…l() (python#117633)" (python#117676)This reverts commit9a12f5d.I was wrong: the _PyObject_FastCall() function was removed. But wekept the _PyObject_FastCallDict() function.
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
docsDocumentation in the Doc dirskip news
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@vstinner@gvanrossum

[8]ページ先頭

©2009-2025 Movatter.jp