Expand description
Trampolines for various pyfunction and pymethod implementations.
They exist to monomorphise std::panic::catch_unwind once into PyO3, rather than inline in every function, thus saving a huge amount of compile-time complexity.
Macros§
- trampoline π
- trampolines π
Functions§
- binaryfuncβ
- cfunction_
with_ βkeywords - dealloc π β
- descrgetfuncβ
- fastcall_
with_ βkeywords - getattrofuncβ
- getbufferprocβ
- getiterfuncβ
- hashfuncβ
- inquiryβ
- ipowfuncβ
- iternextfuncβ
- lenfuncβ
- module_
init β - newfuncβ
- noargsβ
- objobjprocβ
- panic_
result_ πinto_ callback_ output - Converts the output of std::panic::catch_unwind into a Python function output, either by raising a Python exception or by unwrapping the contained success output.
- releasebufferprocβ
Non- Py_LIMITED_API
orPy_3_11
- reprfuncβ
- richcmpfuncβ
- setattrofuncβ
- ssizeargfuncβ
- ternaryfuncβ
- trampoline π β
- Implementation of trampoline functions, which sets up a GILPool and calls F.
- trampoline_
unraisable π β - Implementation of trampoline for functions which canβt return an error.
- unaryfuncβ