Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.4k
bpo-29524: Add Objects/call.c file#12
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
Uh oh!
There was an error while loading.Please reload this page.
Conversation
* Move all functions to call objects in a new Objects/call.c file.* Rename fast_function() to _PyFunction_FastCallKeywords().* Copy null_error() from Objects/abstract.c* Inline type_error() in call.c to not have to copy it, it was only called once.* Export _PyEval_EvalCodeWithName() since it is now called from call.c.
| inlines the most primitive frame setup code from | ||
| PyEval_EvalCodeEx(), which vastly reduces the checks that must be | ||
| done before evaluating the frame. | ||
| */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
This comment block should be moved tofunction_code_fastcall().
vstinner commentedFeb 11, 2017 via email
Oh in fact it was a deliberate choice to remove the comment. Python 3.7 nowhas a wide range of "fast call" functions which are designed for bestperformance. Do you think that it's worth it to keep the comment? |
methane left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I just checked all code is moved as-is.
I agree the comment block is not so important.
vstinner commentedFeb 12, 2017 via email
Thank you for the review. |
jdemeyer commentedJun 25, 2018
Follow-up at#7909 |
Windows arm32 - fix failing tests or skip
* Handle lines with multi-byte unicode characters properly* Use Py_XDECREF instead of Py_DECREFCo-authored-by: Batuhan Taskaya <isidentical@gmail.com>Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
…PyFuture refcycles (pythonGH-12… (pythonGH-125476)Revert "pythongh-124958: fix asyncio.TaskGroup and _PyFuture refcycles (pythonGH-124959)"This reverts commitd5dbbf4.(cherry picked from commite99650b)Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Uh oh!
There was an error while loading.Please reload this page.
http://bugs.python.org/issue29524