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§
- dealloc π β
- hashfuncβ
- inquiryβ
- ipowfuncβ
- lenfuncβ
- newfuncβ
- noargsβ
- 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β
- 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.