Victor Stinner
7546914e3f
gh-87347: Add parenthesis around PyXXX_Check() arguments ( #92815 )
2022-06-16 13:49:43 +02:00
Victor Stinner
272bec4adf
gh-89653: PEP 670: Convert PyFunction macros ( #93765 )
...
Convert PyFunction macros to static inline functions.
2022-06-13 15:15:27 +02:00
Victor Stinner
8f2a337a80
bpo-45316: Move private functions to internal C API (GH-31579)
...
Move the unexported private functions to the internal C API:
* pycore_frame.h: _PyFrame_New_NoTrack()
* pycore_function.h: _PyFunction_GetVersionForCurrentState()
* pycore_genobject.h: _PyAsyncGenValueWrapperNew()
* pycore_genobject.h: _PyCoro_GetAwaitableIter()
* pycore_genobject.h: _PyGen_yf()
2022-02-25 16:07:14 +01:00
Mark Shannon
135cabd328
bpo-44525: Copy free variables in bytecode to allow calls to inner functions to be specialized (GH-29595)
...
* Make internal APIs that take PyFrameConstructor take a PyFunctionObject instead.
* Add reference to function to frame, borrow references to builtins and globals.
* Add COPY_FREE_VARS instruction to allow specialization of calls to inner functions.
2021-11-23 09:53:24 +00:00
Victor Stinner
37b1d607bf
po-35134: Move Include/funcobject.h to Include/cpython/ (GH-28958)
...
Remove redundant "#ifndef Py_LIMITED_API" in funcobject.h.
2021-10-15 01:50:28 +02:00