Expand description
C API Compatibility Shims
Some CPython C API functions added in recent versions of Python are inherently safer to use than older C API constructs. This module exposes functions available on all Python versions that wrap the old C API on old Python versions and wrap the function directly on newer Python versions.
Re-exportsΒ§
pub use self::py_3_10::*;pub use self::py_3_13::*;pub use self::py_3_14::*;pub use self::py_3_15::*;pub use self::py_3_9::*;
ModulesΒ§
MacrosΒ§
- compat_
function π - Internal helper macro which defines compatibility shims for C API functions, deferring to a re-export when thatβs available.