FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-92193: Check for overridden vectorcall field on PyFunctionObject by itamaro · Pull Request #92194 · python/cpython · GitHub

/ cpython Public

gh-92193: Check for overridden vectorcall field on PyFunctionObject - #92194

Closed
itamaro wants to merge 1 commit into
python:mainfrom
itamaro:check-modified-vectorcall
Closed

gh-92193: Check for overridden vectorcall field on PyFunctionObject#92194
itamaro wants to merge 1 commit into
python:mainfrom
itamaro:check-modified-vectorcall

Conversation

itamaro commented May 2, 2022

Copy link
Copy Markdown
Contributor

gh-92193: Check for overridden vectorcall field on PyFunctionObject

avoid specializing functions with overridden vectorcall field

Copy link
Copy Markdown
Member

I'm not sure that this makes sense by itself, as we never check vectorcall if version is non-zero.
If we add PyFunction_SetVectorCall() that sets version to zero, when it sets vectorcall, then this would work.

itamaro commented May 2, 2022

Copy link
Copy Markdown
Contributor Author

I'm not sure that this makes sense by itself, as we never check vectorcall if version is non-zero.

makes sense. we can do that, and/or move the vectorcall check to before the version check (and then maybe it does make sense by itself?). what do you think @markshannon ?

itamaro commented May 3, 2022

Copy link
Copy Markdown
Contributor Author

this PR is made obsolete by GH-92257

itamaro closed this May 3, 2022
itamaro deleted the check-modified-vectorcall branch March 22, 2023 16:13
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL