Skip to main content

Module ffi

Module ffi 

Source
Expand description

Raw FFI declarations for Python’s C API.

This module provides low level bindings to the Python interpreter. It is meant for advanced users only - regular PyO3 users shouldn’t need to interact with this module at all.

The contents of this module are not documented here, as it would entail basically copying the documentation from CPython. Consult the Python/C API Reference Manual for up-to-date documentation.

§Safety

The functions in this module lack individual safety documentation, but generally the following apply:

  • Pointer arguments have to point to a valid Python object of the correct type, although null pointers are sometimes valid input.
  • The vast majority can only be used safely while the GIL is held.
  • Some functions have additional safety requirements, consult the Python/C API Reference Manual for more information.

Modules§

compat
C API Compatibility Shims
structmemberDeprecated

Macros§

c_str
This is a helper macro to create a &'static CStr.

Structs§

PyASCIIObjectNeither Py_LIMITED_API nor RustPython
PyAsyncMethodsNeither Py_LIMITED_API nor RustPython
PyBaseExceptionObjectNeither Py_LIMITED_API nor RustPython
PyBufferProcsNeither Py_LIMITED_API nor RustPython
PyByteArrayObjectNeither GraalPy nor Py_LIMITED_API nor PyPy and neither Py_LIMITED_API nor RustPython
PyBytesObjectNeither GraalPy nor Py_LIMITED_API nor PyPy and neither Py_LIMITED_API nor RustPython
PyCFunctionObjectNon-GraalPy and non-Py_LIMITED_API
PyCMethodObjectNeither Py_LIMITED_API nor RustPython and non-GraalPy and non-PyPy
PyCellObjectNeither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyCodeObject
PyCompactUnicodeObjectNeither Py_LIMITED_API nor RustPython
PyCompilerFlagsNeither Py_LIMITED_API nor RustPython
PyComplexObjectNeither Py_LIMITED_API nor RustPython
PyConfigNeither Py_LIMITED_API nor RustPython and non-PyPy
PyCriticalSectionPy_3_13
PyCriticalSection2Py_3_13
PyDateTime_CAPINon-Py_LIMITED_API
PyDateTime_DateNon-Py_LIMITED_API
Structure representing a datetime.date
PyDateTime_DateTimeNon-Py_LIMITED_API
Structure representing a datetime.datetime.
PyDateTime_DeltaNon-Py_LIMITED_API
Structure representing a datetime.timedelta.
PyDateTime_TZInfoNon-Py_LIMITED_API
PyDateTime_TimeNon-Py_LIMITED_API
Structure representing a datetime.time.
PyDescrObjectNeither Py_LIMITED_API nor RustPython
PyDictKeysObjectNeither Py_LIMITED_API nor RustPython
PyDictObjectNeither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyDictValuesNeither Py_LIMITED_API nor RustPython
PyFloatObjectNeither Py_LIMITED_API nor RustPython
PyFrameObject
PyFunctionObjectPy_3_10 and neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyGenObjectNeither Py_LIMITED_API nor RustPython
PyGetSetDef
Represents the PyGetSetDef structure.
PyGetSetDescrObjectNeither Py_LIMITED_API nor RustPython
PyHash_FuncDef(Py_3_13 or non-PyPy) and neither Py_LIMITED_API nor RustPython and non-PyPy
PyHeapTypeObjectNeither Py_LIMITED_API nor RustPython
PyImportErrorObjectNeither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyInitConfigNeither Py_LIMITED_API nor RustPython and non-PyPy
PyInterpreterConfigPy_3_12 and neither Py_LIMITED_API nor RustPython and non-PyPy
PyInterpreterState
PyListObjectNeither Py_LIMITED_API nor RustPython and non-PyPy
PyLongExportPy_3_15, or Py_3_14 and non-Py_LIMITED_API
PyLongLayoutPy_3_15, or Py_3_14 and non-Py_LIMITED_API
PyLongObject
PyLongWriter
PyMappingMethodsNeither Py_LIMITED_API nor RustPython
PyMemAllocatorExNeither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyMemberDef
Represents the PyMemberDef structure.
PyMemberDescrObjectNeither Py_LIMITED_API nor RustPython
PyMethodDef
Represents the PyMethodDef structure.
PyMethodDescrObjectNeither Py_LIMITED_API nor RustPython
PyModuleDefNot (Py_GIL_DISABLED and Py_LIMITED_API)
PyModuleDef_BaseNot (Py_GIL_DISABLED and Py_LIMITED_API)
PyModuleDef_Slot
PyMutexPy_3_13 and neither Py_LIMITED_API nor RustPython
PyNumberMethodsNeither Py_LIMITED_API nor RustPython
PyOSErrorObjectNeither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyObjectNot (Py_GIL_DISABLED and Py_LIMITED_API)
PyObjectArenaAllocatorNeither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyObjectObFlagsAndRefcnt64-bit and Py_3_14 and little-endian and non-Py_GIL_DISABLED
This struct is anonymous in CPython, so the name was given by PyO3 because Rust structs need a name.
PyPreConfigNeither Py_LIMITED_API nor RustPython and non-PyPy
PySequenceMethodsNeither Py_LIMITED_API nor RustPython
PySetObjectNeither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PySliceObjectNon-Py_LIMITED_API
PyStatusNeither Py_LIMITED_API nor RustPython and non-PyPy
PyStopIterationObjectNeither Py_LIMITED_API nor RustPython
PyStructSequence_Desc
PyStructSequence_Field
PySyntaxErrorObjectNeither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PySystemExitObjectNeither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyThreadState
PyTracebackObjectNeither Py_LIMITED_API nor RustPython
PyTupleObjectNeither Py_LIMITED_API nor RustPython
PyTypeObjectNeither Py_LIMITED_API nor RustPython
PyType_Slot
PyType_Spec
PyUnicodeErrorObjectNeither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyUnicodeObjectNeither Py_LIMITED_API nor RustPython
PyUnicodeWriterNeither Py_LIMITED_API nor RustPython
PyVarObjectNot (Py_GIL_DISABLED and Py_LIMITED_API)
PyWeakReferenceNeither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyWideStringListNeither Py_LIMITED_API nor RustPython and non-PyPy
PyWrapperDescrObjectNeither Py_LIMITED_API nor RustPython
Py_bufferPy_3_11
Py_complexNeither Py_LIMITED_API nor RustPython
Py_tss_tNeither Py_LIMITED_API nor RustPython
_PyDateTime_BaseDateTimeNeither GraalPy nor PyPy and non-Py_LIMITED_API
Structure representing a datetime.datetime without a tzinfo member.
_PyDateTime_BaseTimeNeither GraalPy nor PyPy and non-Py_LIMITED_API
Structure representing a datetime.time without a tzinfo member.
_PyInterpreterFrameNeither Py_LIMITED_API nor RustPython
_PyWeakReferenceNeither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
_frozen(Py_3_14 or non-PyPy) and neither Py_LIMITED_API nor RustPython and non-PyPy
_inittab(Py_3_14 or non-PyPy) and neither Py_LIMITED_API nor RustPython and non-PyPy
setentryNeither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
wrapperbaseNeither Py_LIMITED_API nor RustPython

Enums§

PyGILState_STATE
PyMemAllocatorDomainNeither Py_LIMITED_API nor RustPython
PySendResultPy_3_10
_PyStatus_TYPENeither Py_LIMITED_API nor RustPython and non-PyPy

Constants§

CO_ASYNC_GENERATORNeither Py_LIMITED_API nor RustPython
CO_COROUTINENeither Py_LIMITED_API nor RustPython
CO_FUTURE_ABSOLUTE_IMPORTNeither Py_LIMITED_API nor RustPython
CO_FUTURE_BARRY_AS_BDFLNeither Py_LIMITED_API nor RustPython
CO_FUTURE_DIVISIONNeither Py_LIMITED_API nor RustPython
CO_FUTURE_GENERATOR_STOPNeither Py_LIMITED_API nor RustPython
CO_FUTURE_PRINT_FUNCTIONNeither Py_LIMITED_API nor RustPython
CO_FUTURE_UNICODE_LITERALSNeither Py_LIMITED_API nor RustPython
CO_FUTURE_WITH_STATEMENTNeither Py_LIMITED_API nor RustPython
CO_GENERATORNeither Py_LIMITED_API nor RustPython
CO_ITERABLE_COROUTINENeither Py_LIMITED_API nor RustPython
CO_MAXBLOCKSNeither Py_LIMITED_API nor RustPython
CO_NESTEDNeither Py_LIMITED_API nor RustPython
CO_NEWLOCALSNeither Py_LIMITED_API nor RustPython
CO_NOFREENeither Py_LIMITED_API nor RustPython
CO_OPTIMIZEDNeither Py_LIMITED_API nor RustPython
CO_VARARGSNeither Py_LIMITED_API nor RustPython
CO_VARKEYWORDSNeither Py_LIMITED_API nor RustPython
FUTURE_ABSOLUTE_IMPORTNeither Py_LIMITED_API nor RustPython
FUTURE_ANNOTATIONSNeither Py_LIMITED_API nor RustPython
FUTURE_BARRY_AS_BDFLNeither Py_LIMITED_API nor RustPython
FUTURE_DIVISIONNeither Py_LIMITED_API nor RustPython
FUTURE_GENERATORSNeither Py_LIMITED_API nor RustPython
FUTURE_GENERATOR_STOPNeither Py_LIMITED_API nor RustPython
FUTURE_NESTED_SCOPESNeither Py_LIMITED_API nor RustPython
FUTURE_PRINT_FUNCTIONNeither Py_LIMITED_API nor RustPython
FUTURE_UNICODE_LITERALSNeither Py_LIMITED_API nor RustPython
FUTURE_WITH_STATEMENTNeither Py_LIMITED_API nor RustPython
INT_MAX
MAX_CO_EXTRA_USERS
METH_CLASS
METH_COEXIST
METH_FASTCALLPy_3_10 or non-Py_LIMITED_API
METH_KEYWORDS
METH_METHODNon-Py_LIMITED_API
METH_NOARGS
METH_O
METH_STATIC
METH_VARARGS
PYOS_STACK_MARGIN
PYTHON_ABI_VERSION
PYTHON_API_VERSION
PY_BIG_ENDIANLittle-endian
PY_INVALID_STACK_EFFECTNeither Py_LIMITED_API nor RustPython
PY_LITTLE_ENDIANLittle-endian
PY_SSIZE_T_MAX
PY_SSIZE_T_MIN
PY_STDIOTEXTMODE
PY_VECTORCALL_ARGUMENTS_OFFSETPy_3_12 or non-Py_LIMITED_API
PyBUF_ANY_CONTIGUOUSPy_3_11
PyBUF_CONTIGPy_3_11
PyBUF_CONTIG_ROPy_3_11
PyBUF_C_CONTIGUOUSPy_3_11
PyBUF_FORMATPy_3_11
PyBUF_FULLPy_3_11
PyBUF_FULL_ROPy_3_11
PyBUF_F_CONTIGUOUSPy_3_11
PyBUF_INDIRECTPy_3_11
PyBUF_MAX_NDIMPy_3_11
Maximum number of dimensions
PyBUF_NDPy_3_11
PyBUF_READPy_3_11
PyBUF_RECORDSPy_3_11
PyBUF_RECORDS_ROPy_3_11
PyBUF_SIMPLEPy_3_11
PyBUF_STRIDEDPy_3_11
PyBUF_STRIDED_ROPy_3_11
PyBUF_STRIDESPy_3_11
PyBUF_WRITABLEPy_3_11
PyBUF_WRITEPy_3_11
PyBUF_WRITEABLEPy_3_11
PyDateTime_CAPSULE_NAMENon-Py_LIMITED_API
PyInterpreterConfig_DEFAULT_GILPy_3_12 and neither Py_LIMITED_API nor RustPython and non-PyPy
PyInterpreterConfig_OWN_GILPy_3_12 and neither Py_LIMITED_API nor RustPython and non-PyPy
PyInterpreterConfig_SHARED_GILPy_3_12 and neither Py_LIMITED_API nor RustPython and non-PyPy
PyModuleDef_HEAD_INITNot (Py_GIL_DISABLED and Py_LIMITED_API)
PyObject_HEAD_INITNot (Py_GIL_DISABLED and Py_LIMITED_API)
PySet_MINSIZENeither Py_LIMITED_API nor RustPython
PyTrace_CALLNeither Py_LIMITED_API nor RustPython
PyTrace_C_CALLNeither Py_LIMITED_API nor RustPython
PyTrace_C_EXCEPTIONNeither Py_LIMITED_API nor RustPython
PyTrace_C_RETURNNeither Py_LIMITED_API nor RustPython
PyTrace_EXCEPTIONNeither Py_LIMITED_API nor RustPython
PyTrace_LINENeither Py_LIMITED_API nor RustPython
PyTrace_OPCODENeither Py_LIMITED_API nor RustPython
PyTrace_RETURNNeither Py_LIMITED_API nor RustPython
PyUnicode_1BYTE_KINDNeither Py_LIMITED_API nor RustPython
PyUnicode_2BYTE_KINDNeither Py_LIMITED_API nor RustPython
PyUnicode_4BYTE_KINDNeither Py_LIMITED_API nor RustPython
PyUnstable_EXECUTABLE_KINDSPy_3_13 and neither Py_LIMITED_API nor RustPython
PyUnstable_EXECUTABLE_KIND_BUILTIN_FUNCTIONPy_3_13 and neither Py_LIMITED_API nor RustPython
PyUnstable_EXECUTABLE_KIND_METHOD_DESCRIPTORPy_3_13 and neither Py_LIMITED_API nor RustPython
PyUnstable_EXECUTABLE_KIND_PY_FUNCTIONPy_3_13 and neither Py_LIMITED_API nor RustPython
PyUnstable_EXECUTABLE_KIND_SKIPPy_3_13 and neither Py_LIMITED_API nor RustPython
PyWrapperFlag_KEYWORDSNeither Py_LIMITED_API nor RustPython
Py_ASNATIVEBYTES_ALLOW_INDEXPy_3_14, or Py_3_13 and non-Py_LIMITED_API
Py_ASNATIVEBYTES_BIG_ENDIANPy_3_14, or Py_3_13 and non-Py_LIMITED_API
Py_ASNATIVEBYTES_DEFAULTSPy_3_14, or Py_3_13 and non-Py_LIMITED_API
Py_ASNATIVEBYTES_LITTLE_ENDIANPy_3_14, or Py_3_13 and non-Py_LIMITED_API
Py_ASNATIVEBYTES_NATIVE_ENDIANPy_3_14, or Py_3_13 and non-Py_LIMITED_API
Py_ASNATIVEBYTES_REJECT_NEGATIVEPy_3_14, or Py_3_13 and non-Py_LIMITED_API
Py_ASNATIVEBYTES_UNSIGNED_BUFFERPy_3_14, or Py_3_13 and non-Py_LIMITED_API
Py_AUDIT_READPy_3_10
Py_CLEANUP_SUPPORTED
Py_CONSTANT_ELLIPSISPy_3_13
Py_CONSTANT_EMPTY_BYTESPy_3_13
Py_CONSTANT_EMPTY_STRPy_3_13
Py_CONSTANT_EMPTY_TUPLEPy_3_13
Py_CONSTANT_FALSEPy_3_13
Py_CONSTANT_NONEPy_3_13
Py_CONSTANT_NOT_IMPLEMENTEDPy_3_13
Py_CONSTANT_ONEPy_3_13
Py_CONSTANT_TRUEPy_3_13
Py_CONSTANT_ZEROPy_3_13
Py_CONTEXT_SWITCHEDPy_3_14 and neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
Py_DTSF_ADD_DOT_0
Py_DTSF_ALT
Py_DTSF_SIGN
Py_DTST_FINITE
Py_DTST_INFINITE
Py_DTST_NAN
Py_EQ
Py_GE
Py_GT
Py_HASH_EXTERNAL
Py_HASH_FNV
Py_HASH_SIPHASH13Py_3_11
Py_HASH_SIPHASH24
Py_LE
Py_LT
Py_MARSHAL_VERSIONNeither Py_LIMITED_API nor RustPython and non-GraalPy and non-Py_3_15
Py_MOD_GIL_NOT_USEDPy_3_13
Py_MOD_GIL_USEDPy_3_13
Py_MOD_MULTIPLE_INTERPRETERS_NOT_SUPPORTEDPy_3_12
Py_MOD_MULTIPLE_INTERPRETERS_SUPPORTEDPy_3_12
Py_MOD_PER_INTERPRETER_GIL_SUPPORTEDPy_3_12
Py_NE
Py_PRINT_RAW
Py_READONLY
Py_RELATIVE_OFFSET
Py_TPFLAGS_BASETYPE
Set if the type allows subclassing
Py_TPFLAGS_BASE_EXC_SUBCLASS
Py_TPFLAGS_BYTES_SUBCLASS
Py_TPFLAGS_DEFAULT
Py_TPFLAGS_DICT_SUBCLASS
Py_TPFLAGS_DISALLOW_INSTANTIATIONPy_3_10
Py_TPFLAGS_HAVE_FINALIZE
Py_TPFLAGS_HAVE_GC
Objects support garbage collection (see objimp.h)
Py_TPFLAGS_HAVE_VECTORCALLPy_3_12 or non-Py_LIMITED_API
Set if the type implements the vectorcall protocol (PEP 590)
Py_TPFLAGS_HAVE_VERSION_TAG
Py_TPFLAGS_HEAPTYPE
Set if the type object is dynamically allocated
Py_TPFLAGS_IMMUTABLETYPEPy_3_10
Py_TPFLAGS_IS_ABSTRACT
Py_TPFLAGS_ITEMS_AT_ENDPy_3_12
Py_TPFLAGS_LIST_SUBCLASS
Py_TPFLAGS_LONG_SUBCLASS
Py_TPFLAGS_MANAGED_DICTPy_3_11 and non-Py_LIMITED_API
Py_TPFLAGS_MANAGED_WEAKREFPy_3_12 and non-Py_LIMITED_API
Py_TPFLAGS_MAPPINGPy_3_10 and non-Py_LIMITED_API
Py_TPFLAGS_METHOD_DESCRIPTOR
Py_TPFLAGS_READY
Set if the type is ‘ready’ – fully initialized
Py_TPFLAGS_READYING
Set while the type is being ‘readied’, to prevent recursive ready calls
Py_TPFLAGS_SEQUENCEPy_3_10 and non-Py_LIMITED_API
Py_TPFLAGS_TUPLE_SUBCLASS
Py_TPFLAGS_TYPE_SUBCLASS
Py_TPFLAGS_UNICODE_SUBCLASS
Py_TPFLAGS_VALID_VERSION_TAG
Py_T_BOOL
Py_T_BYTE
Py_T_CHAR
Py_T_DOUBLE
Py_T_FLOAT
Py_T_INT
Py_T_LONG
Py_T_LONGLONG
Py_T_OBJECT_EX
Py_T_PYSSIZET
Py_T_SHORT
Py_T_STRING
Py_T_STRING_INPLACE
Py_T_UBYTE
Py_T_UINT
Py_T_ULONG
Py_T_ULONGLONG
Py_T_USHORT
Py_UNICODE_REPLACEMENT_CHARACTER
Py_am_aiter
Py_am_anext
Py_am_await
Py_am_send
Py_bf_getbuffer
Py_bf_releasebuffer
Py_eval_input
Py_file_input
Py_fstring_input
Py_func_type_input
Py_mod_create
Py_mod_exec
Py_mod_gil
Py_mod_multiple_interpreters
Py_mp_ass_subscript
Py_mp_length
Py_mp_subscript
Py_nb_absolute
Py_nb_add
Py_nb_and
Py_nb_bool
Py_nb_divmod
Py_nb_float
Py_nb_floor_divide
Py_nb_index
Py_nb_inplace_add
Py_nb_inplace_and
Py_nb_inplace_floor_divide
Py_nb_inplace_lshift
Py_nb_inplace_matrix_multiply
Py_nb_inplace_multiply
Py_nb_inplace_or
Py_nb_inplace_power
Py_nb_inplace_remainder
Py_nb_inplace_rshift
Py_nb_inplace_subtract
Py_nb_inplace_true_divide
Py_nb_inplace_xor
Py_nb_int
Py_nb_invert
Py_nb_lshift
Py_nb_matrix_multiply
Py_nb_multiply
Py_nb_negative
Py_nb_or
Py_nb_positive
Py_nb_power
Py_nb_remainder
Py_nb_rshift
Py_nb_subtract
Py_nb_true_divide
Py_nb_xor
Py_single_input
Py_sq_ass_item
Py_sq_concat
Py_sq_contains
Py_sq_inplace_concat
Py_sq_inplace_repeat
Py_sq_item
Py_sq_length
Py_sq_repeat
Py_tp_alloc
Py_tp_base
Py_tp_bases
Py_tp_call
Py_tp_clear
Py_tp_dealloc
Py_tp_del
Py_tp_descr_get
Py_tp_descr_set
Py_tp_doc
Py_tp_finalize
Py_tp_free
Py_tp_getattr
Py_tp_getattro
Py_tp_getset
Py_tp_hash
Py_tp_init
Py_tp_is_gc
Py_tp_iter
Py_tp_iternext
Py_tp_members
Py_tp_methods
Py_tp_new
Py_tp_repr
Py_tp_richcompare
Py_tp_setattr
Py_tp_setattro
Py_tp_str
Py_tp_token
Py_tp_traverse
Py_tp_vectorcall
Py_tss_NEEDS_INITNeither Py_LIMITED_API nor RustPython
SSTATE_INTERNED_IMMORTALNeither Py_LIMITED_API nor RustPython
SSTATE_INTERNED_IMMORTAL_STATICPy_3_12 and neither Py_LIMITED_API nor RustPython
SSTATE_INTERNED_MORTALNeither Py_LIMITED_API nor RustPython
SSTATE_NOT_INTERNEDNeither Py_LIMITED_API nor RustPython
_PyHASH_MULTIPLIER
_PyInterpreterConfig_INITPy_3_12 and neither Py_LIMITED_API nor RustPython and non-PyPy
_PyInterpreterConfig_LEGACY_INITPy_3_12 and neither Py_LIMITED_API nor RustPython and non-PyPy
_Py_T_NONEDeprecated
_Py_T_OBJECTDeprecated
_Py_WRITE_RESTRICTEDDeprecated

Statics§

PyAsyncGen_TypeNeither Py_LIMITED_API nor RustPython
PyBaseObject_TypeNon-RustPython
built-in ‘object’
PyBool_Type
PyByteArrayIter_Type
PyByteArray_Type
PyBytesIter_Type
PyBytes_Type
PyCFunction_TypeNon-RustPython
PyCMethod_TypeNeither Py_LIMITED_API nor RustPython and non-PyPy
PyCallIter_Type
PyCapsule_Type
PyCell_TypeNeither Py_LIMITED_API nor RustPython
PyClassMethodDescr_Type
PyClassMethod_TypeNeither Py_LIMITED_API nor RustPython
PyCode_TypeNeither Py_LIMITED_API nor RustPython
PyComplex_Type
PyContextToken_TypeNeither Py_LIMITED_API nor RustPython
PyContextVar_TypeNeither Py_LIMITED_API nor RustPython
PyContext_TypeNeither Py_LIMITED_API nor RustPython
PyCoro_TypeNeither Py_LIMITED_API nor RustPython
PyDictItems_Type
PyDictIterItem_Type
PyDictIterKey_Type
PyDictIterValue_Type
PyDictKeys_Type
PyDictProxy_Type
PyDictRevIterItem_Type
PyDictRevIterKey_Type
PyDictRevIterValue_Type
PyDictValues_Type
PyDict_Type
PyEllipsis_Type
PyEnum_TypeNon-RustPython
PyExc_ArithmeticError
PyExc_AssertionError
PyExc_AttributeError
PyExc_BaseException
PyExc_BaseExceptionGroupPy_3_11
PyExc_BlockingIOError
PyExc_BrokenPipeError
PyExc_BufferError
PyExc_BytesWarning
PyExc_ChildProcessError
PyExc_ConnectionAbortedError
PyExc_ConnectionError
PyExc_ConnectionRefusedError
PyExc_ConnectionResetError
PyExc_DeprecationWarning
PyExc_EOFError
PyExc_EncodingWarningPy_3_10
PyExc_EnvironmentError
PyExc_Exception
PyExc_FileExistsError
PyExc_FileNotFoundError
PyExc_FloatingPointError
PyExc_FutureWarning
PyExc_GeneratorExit
PyExc_IOError
PyExc_ImportError
PyExc_ImportWarning
PyExc_IndentationError
PyExc_IndexError
PyExc_InterruptedError
PyExc_IsADirectoryError
PyExc_KeyError
PyExc_KeyboardInterrupt
PyExc_LookupError
PyExc_MemoryError
PyExc_ModuleNotFoundError
PyExc_NameError
PyExc_NotADirectoryError
PyExc_NotImplementedError
PyExc_OSError
PyExc_OverflowError
PyExc_PendingDeprecationWarning
PyExc_PermissionError
PyExc_ProcessLookupError
PyExc_RecursionError
PyExc_ReferenceError
PyExc_ResourceWarning
PyExc_RuntimeError
PyExc_RuntimeWarning
PyExc_StopAsyncIteration
PyExc_StopIteration
PyExc_SyntaxError
PyExc_SyntaxWarning
PyExc_SystemError
PyExc_SystemExit
PyExc_TabError
PyExc_TimeoutError
PyExc_TypeError
PyExc_UnboundLocalError
PyExc_UnicodeDecodeError
PyExc_UnicodeEncodeError
PyExc_UnicodeError
PyExc_UnicodeTranslateError
PyExc_UnicodeWarning
PyExc_UserWarning
PyExc_ValueError
PyExc_Warning
PyExc_ZeroDivisionError
PyFilter_TypeNon-RustPython
PyFloat_TypeNon-RustPython
PyFrameLocalsProxy_TypePy_3_13 and neither Py_LIMITED_API nor RustPython
PyFrame_TypeNeither Py_LIMITED_API nor RustPython
PyFrozenSet_Type
PyFunction_TypeNeither Py_LIMITED_API nor RustPython
PyGen_TypeNeither Py_LIMITED_API nor RustPython
PyGetSetDescr_Type
PyImport_FrozenModules(Py_3_14 or non-PyPy) and neither Py_LIMITED_API nor RustPython and non-PyPy
PyImport_Inittab(Py_3_14 or non-PyPy) and neither Py_LIMITED_API nor RustPython and non-PyPy
PyListIter_Type
PyListRevIter_Type
PyList_Type
PyLongRangeIter_TypeNon-RustPython
PyLong_Type
PyMap_TypeNon-RustPython
PyMemberDescr_Type
PyMemoryView_TypeNon-RustPython
PyMethodDescr_Type
PyModuleDef_TypeNon-RustPython
PyModule_Type
PyProperty_Type
PyRangeIter_TypeNon-RustPython
PyRange_TypeNon-RustPython
PyReversed_TypeNon-RustPython
PySeqIter_Type
PySetIter_Type
PySet_Type
PySlice_Type
PyStaticMethod_TypeNeither Py_LIMITED_API nor RustPython
PyStructSequence_UnnamedFieldPy_3_11 or non-Py_LIMITED_API
PySuper_TypeNon-RustPython
built-in ‘super’
PyTraceBack_TypeNon-RustPython
PyTupleIter_Type
PyTuple_Type
PyType_TypeNon-RustPython
built-in ‘type’
PyUnicodeIter_TypeNon-RustPython
PyUnicode_TypeNon-RustPython
PyUnstable_ExecutableKindsPy_3_13 and neither Py_LIMITED_API nor RustPython
PyWrapperDescr_Type
PyZip_TypeNon-RustPython
Py_BytesWarningFlagDeprecatedNeither Py_LIMITED_API nor RustPython
Py_DebugFlagDeprecatedNeither Py_LIMITED_API nor RustPython
Py_DontWriteBytecodeFlagDeprecatedNeither Py_LIMITED_API nor RustPython
Py_FileSystemDefaultEncodeErrorsDeprecated
Py_FileSystemDefaultEncodingDeprecated
Py_FrozenFlagDeprecatedNeither Py_LIMITED_API nor RustPython
Py_GenericAliasTypeNon-RustPython
Py_HasFileSystemDefaultEncodingDeprecated
Py_HashRandomizationFlagNeither Py_LIMITED_API nor RustPython
Py_IgnoreEnvironmentFlagDeprecatedNeither Py_LIMITED_API nor RustPython
Py_InspectFlagDeprecatedNeither Py_LIMITED_API nor RustPython
Py_InteractiveFlagDeprecatedNeither Py_LIMITED_API nor RustPython
Py_IsolatedFlagDeprecatedNeither Py_LIMITED_API nor RustPython
Py_NoSiteFlagDeprecatedNeither Py_LIMITED_API nor RustPython
Py_NoUserSiteDirectoryDeprecatedNeither Py_LIMITED_API nor RustPython
Py_OptimizeFlagDeprecatedNeither Py_LIMITED_API nor RustPython
Py_QuietFlagDeprecatedNeither Py_LIMITED_API nor RustPython
Py_UnbufferedStdioFlagDeprecatedNeither Py_LIMITED_API nor RustPython
Py_VerboseFlagDeprecatedNeither Py_LIMITED_API nor RustPython
Py_VersionPy_3_11
_PyWeakref_RefTypeNon-RustPython

Functions§

PyAIter_Check⚠Py_3_10
PyAnySet_Check⚠Non-RustPython
PyAnySet_CheckExact⚠Neither RustPython, nor PyPy and non-Py_3_12
PyArg_Parse⚠
PyArg_ParseTuple⚠
PyArg_ParseTupleAndKeywords⚠
PyArg_UnpackTuple⚠
PyArg_ValidateKeywordArguments⚠
PyAsyncGen_CheckExact⚠Neither Py_LIMITED_API nor RustPython
PyBool_Check⚠Non-RustPython
PyBool_FromLong⚠
PyBuffer_FillContiguousStrides⚠Py_3_11
PyBuffer_FillInfo⚠Py_3_11
PyBuffer_FromContiguous⚠Py_3_11
PyBuffer_GetPointer⚠Py_3_11
PyBuffer_IsContiguous⚠Py_3_11
PyBuffer_Release⚠Py_3_11
PyBuffer_SizeFromFormat⚠Py_3_11
PyBuffer_ToContiguous⚠Py_3_11
PyByteArray_AS_STRING⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyByteArray_AsString⚠
PyByteArray_Check⚠Non-RustPython
PyByteArray_CheckExact⚠Non-RustPython
PyByteArray_Concat⚠
PyByteArray_FromObject⚠
PyByteArray_FromStringAndSize⚠
PyByteArray_GET_SIZE⚠Neither Py_LIMITED_API nor RustPython
PyByteArray_Resize⚠
PyByteArray_Size⚠
PyBytes_AS_STRING⚠Neither Py_LIMITED_API nor RustPython and non-Py_LIMITED_API
PyBytes_AsString⚠
PyBytes_AsStringAndSize⚠
PyBytes_Check⚠Non-RustPython
PyBytes_CheckExact⚠Non-RustPython
PyBytes_Concat⚠
PyBytes_ConcatAndDel⚠
PyBytes_DecodeEscape⚠
PyBytes_FromFormat⚠
PyBytes_FromObject⚠
PyBytes_FromString⚠
PyBytes_FromStringAndSize⚠
PyBytes_Repr⚠
PyBytes_Size⚠
PyCFunction_Check⚠Non-RustPython
PyCFunction_CheckExact⚠Non-RustPython
PyCFunction_GET_CLASS⚠Neither Py_LIMITED_API nor RustPython and non-GraalPy and non-PyPy
PyCFunction_GET_FLAGS⚠Neither Py_LIMITED_API nor RustPython and non-GraalPy and non-PyPy
PyCFunction_GET_FUNCTION⚠Neither Py_LIMITED_API nor RustPython and non-GraalPy and non-PyPy
PyCFunction_GET_SELF⚠Neither Py_LIMITED_API nor RustPython and non-GraalPy and non-PyPy
PyCFunction_GetFlags⚠Py_3_12 or non-PyPy
PyCFunction_GetFunction⚠
PyCFunction_GetSelf⚠Py_3_12 or non-PyPy
PyCFunction_New⚠
PyCFunction_NewEx⚠
PyCMethod_Check⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyCMethod_CheckExact⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyCMethod_New⚠
PyCallIter_Check⚠Non-RustPython
PyCallIter_New⚠
PyCallable_Check⚠
PyCapsule_CheckExact⚠Non-RustPython
PyCapsule_GetContext⚠
PyCapsule_GetDestructor⚠
PyCapsule_GetName⚠
PyCapsule_GetPointer⚠
PyCapsule_Import⚠
PyCapsule_IsValid⚠
PyCapsule_New⚠
PyCapsule_SetContext⚠
PyCapsule_SetDestructor⚠
PyCapsule_SetName⚠
PyCapsule_SetPointer⚠
PyCell_Check⚠Neither Py_LIMITED_API nor RustPython
PyCell_Get⚠Neither Py_LIMITED_API nor RustPython
PyCell_New⚠Neither Py_LIMITED_API nor RustPython
PyCell_Set⚠Neither Py_LIMITED_API nor RustPython
PyClassMethod_New⚠Neither Py_LIMITED_API nor RustPython
PyCode_Addr2Line⚠Neither Py_LIMITED_API nor RustPython and non-GraalPy
PyCode_Check⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyCode_New⚠Neither Py_LIMITED_API nor RustPython and non-GraalPy
PyCode_NewEmpty⚠Neither Py_LIMITED_API nor RustPython and non-GraalPy
PyCode_NewWithPosOnlyArgs⚠Neither Py_LIMITED_API nor RustPython and non-GraalPy
PyCode_Optimize⚠Neither Py_LIMITED_API nor RustPython
PyCodec_BackslashReplaceErrors⚠
PyCodec_Decode⚠
PyCodec_Decoder⚠
PyCodec_Encode⚠
PyCodec_Encoder⚠
PyCodec_IgnoreErrors⚠
PyCodec_IncrementalDecoder⚠
PyCodec_IncrementalEncoder⚠
PyCodec_KnownEncoding⚠
PyCodec_LookupError⚠
PyCodec_Register⚠
PyCodec_RegisterError⚠
PyCodec_ReplaceErrors⚠
PyCodec_StreamReader⚠
PyCodec_StreamWriter⚠
PyCodec_StrictErrors⚠
PyCodec_Unregister⚠Py_3_10 and non-PyPy
PyCodec_XMLCharRefReplaceErrors⚠
PyCompile_OpcodeStackEffect⚠Neither Py_LIMITED_API nor RustPython
PyCompile_OpcodeStackEffectWithJump⚠Neither Py_LIMITED_API nor RustPython
PyComplex_AsCComplex⚠Neither Py_LIMITED_API nor RustPython
PyComplex_Check⚠Non-RustPython
PyComplex_CheckExact⚠Non-RustPython
PyComplex_FromCComplex⚠Neither Py_LIMITED_API nor RustPython
PyComplex_FromDoubles⚠
PyComplex_ImagAsDouble⚠
PyComplex_RealAsDouble⚠
PyConfig_Clear⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyConfig_InitIsolatedConfig⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyConfig_InitPythonConfig⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyConfig_Read⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyConfig_SetArgv⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyConfig_SetBytesArgv⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyConfig_SetBytesString⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyConfig_SetString⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyConfig_SetWideStringList⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyContextToken_CheckExact⚠Neither Py_LIMITED_API nor RustPython
PyContextVar_CheckExact⚠Neither Py_LIMITED_API nor RustPython
PyContextVar_Get⚠Neither Py_LIMITED_API nor RustPython
PyContextVar_New⚠Neither Py_LIMITED_API nor RustPython
PyContextVar_Reset⚠Neither Py_LIMITED_API nor RustPython
PyContextVar_Set⚠Neither Py_LIMITED_API nor RustPython
PyContext_AddWatcher⚠Py_3_14 and neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyContext_CheckExact⚠Neither Py_LIMITED_API nor RustPython
PyContext_ClearWatcher⚠Py_3_14 and neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyContext_Copy⚠Neither Py_LIMITED_API nor RustPython
PyContext_CopyCurrent⚠Neither Py_LIMITED_API nor RustPython
PyContext_Enter⚠Neither Py_LIMITED_API nor RustPython
PyContext_Exit⚠Neither Py_LIMITED_API nor RustPython
PyContext_New⚠Neither Py_LIMITED_API nor RustPython
PyCoro_CheckExact⚠Neither Py_LIMITED_API nor RustPython
PyDateTimeAPI⚠Non-Py_LIMITED_API
Returns a pointer to a PyDateTime_CAPI instance
PyDateTime_Check⚠Non-Py_LIMITED_API
Check if op is a PyDateTimeAPI.DateTimeType or subtype.
PyDateTime_CheckExact⚠Non-Py_LIMITED_API
Check if op’s type is exactly PyDateTimeAPI.DateTimeType.
PyDateTime_DATE_GET_FOLD⚠Neither GraalPy nor PyPy and non-Py_LIMITED_API
Retrieve the fold component of a PyDateTime_DateTime. Returns a signed integer in the interval [0, 1]
PyDateTime_DATE_GET_HOUR⚠Neither GraalPy nor PyPy and non-Py_LIMITED_API
Retrieve the hour component of a PyDateTime_DateTime. Returns a signed integer in the interval [0, 23]
PyDateTime_DATE_GET_MICROSECOND⚠Neither GraalPy nor PyPy and non-Py_LIMITED_API
Retrieve the microsecond component of a PyDateTime_DateTime. Returns a signed integer in the interval [0, 999999]
PyDateTime_DATE_GET_MINUTE⚠Neither GraalPy nor PyPy and non-Py_LIMITED_API
Retrieve the minute component of a PyDateTime_DateTime. Returns a signed integer in the interval [0, 59]
PyDateTime_DATE_GET_SECOND⚠Neither GraalPy nor PyPy and non-Py_LIMITED_API
Retrieve the second component of a PyDateTime_DateTime. Returns a signed integer in the interval [0, 59]
PyDateTime_DATE_GET_TZINFO⚠Neither GraalPy nor PyPy and non-Py_LIMITED_API
Retrieve the tzinfo component of a PyDateTime_DateTime. Returns a pointer to a PyObject that should be either NULL or an instance of a datetime.tzinfo subclass.
PyDateTime_DELTA_GET_DAYS⚠Neither GraalPy nor PyPy and non-Py_LIMITED_API
Retrieve the days component of a PyDateTime_Delta.
PyDateTime_DELTA_GET_MICROSECONDS⚠Neither GraalPy nor PyPy and non-Py_LIMITED_API
Retrieve the seconds component of a PyDateTime_Delta.
PyDateTime_DELTA_GET_SECONDS⚠Neither GraalPy nor PyPy and non-Py_LIMITED_API
Retrieve the seconds component of a PyDateTime_Delta.
PyDateTime_FromDateAndTime⚠Non-Py_LIMITED_API
See https://github.com/python/cpython/blob/3.10/Include/datetime.h#L226-L228
PyDateTime_FromDateAndTimeAndFold⚠Non-Py_LIMITED_API
See https://github.com/python/cpython/blob/3.10/Include/datetime.h#L230-L232
PyDateTime_FromTimestamp⚠Non-Py_LIMITED_API and non-PyPy
PyDateTime_GET_DAY⚠Neither GraalPy nor PyPy and non-Py_LIMITED_API
Retrieve the day component of a PyDateTime_Date or PyDateTime_DateTime. Returns a signed integer in the interval [1, 31].
PyDateTime_GET_MONTH⚠Neither GraalPy nor PyPy and non-Py_LIMITED_API
Retrieve the month component of a PyDateTime_Date or PyDateTime_DateTime. Returns a signed integer in the range [1, 12].
PyDateTime_GET_YEAR⚠Neither GraalPy nor PyPy and non-Py_LIMITED_API
Retrieve the year component of a PyDateTime_Date or PyDateTime_DateTime. Returns a signed integer greater than 0.
PyDateTime_IMPORT⚠Non-Py_LIMITED_API
Populates the PyDateTimeAPI object
PyDateTime_TIME_GET_FOLD⚠Neither GraalPy nor PyPy and non-Py_LIMITED_API
Retrieve the fold component of a PyDateTime_Time. Returns a signed integer in the interval [0, 1]
PyDateTime_TIME_GET_HOUR⚠Neither GraalPy nor PyPy and non-Py_LIMITED_API
Retrieve the hour component of a PyDateTime_Time. Returns a signed integer in the interval [0, 23]
PyDateTime_TIME_GET_MICROSECOND⚠Neither GraalPy nor PyPy and non-Py_LIMITED_API
Retrieve the microsecond component of a PyDateTime_DateTime. Returns a signed integer in the interval [0, 999999]
PyDateTime_TIME_GET_MINUTE⚠Neither GraalPy nor PyPy and non-Py_LIMITED_API
Retrieve the minute component of a PyDateTime_Time. Returns a signed integer in the interval [0, 59]
PyDateTime_TIME_GET_SECOND⚠Neither GraalPy nor PyPy and non-Py_LIMITED_API
Retrieve the second component of a PyDateTime_DateTime. Returns a signed integer in the interval [0, 59]
PyDateTime_TIME_GET_TZINFO⚠Neither GraalPy nor PyPy and non-Py_LIMITED_API
Retrieve the tzinfo component of a PyDateTime_Time. Returns a pointer to a PyObject that should be either NULL or an instance of a datetime.tzinfo subclass.
PyDateTime_TimeZone_UTC⚠Non-Py_LIMITED_API
PyDate_Check⚠Non-Py_LIMITED_API
Type Check macros
PyDate_CheckExact⚠Non-Py_LIMITED_API
Check if op’s type is exactly PyDateTimeAPI.DateType.
PyDate_FromDate⚠Non-Py_LIMITED_API
PyDate_FromTimestamp⚠Non-Py_LIMITED_API and non-PyPy
PyDelta_Check⚠Non-Py_LIMITED_API
Check if op is a PyDateTimeAPI.DetaType or subtype.
PyDelta_CheckExact⚠Non-Py_LIMITED_API
Check if op’s type is exactly PyDateTimeAPI.DeltaType.
PyDelta_FromDSU⚠Non-Py_LIMITED_API
PyDescr_NewClassMethod⚠
PyDescr_NewGetSet⚠
PyDescr_NewMember⚠
PyDescr_NewMethod⚠
PyDictItems_Check⚠Non-RustPython
PyDictKeys_Check⚠Non-RustPython
PyDictProxy_New⚠
PyDictValues_Check⚠Non-RustPython
PyDictViewSet_Check⚠
PyDict_Check⚠Non-RustPython
PyDict_CheckExact⚠Non-RustPython
PyDict_Clear⚠
PyDict_ClearWatcher⚠Py_3_12 and neither Py_LIMITED_API nor RustPython
PyDict_Contains⚠
PyDict_ContainsString⚠Py_3_13 and neither Py_LIMITED_API nor RustPython
PyDict_Copy⚠
PyDict_DelItem⚠
PyDict_DelItemString⚠
PyDict_GetItem⚠
PyDict_GetItemRef⚠Py_3_13
PyDict_GetItemString⚠
PyDict_GetItemStringRef⚠Py_3_13
PyDict_GetItemWithError⚠
PyDict_Items⚠
PyDict_Keys⚠
PyDict_Merge⚠
PyDict_MergeFromSeq2⚠
PyDict_New⚠
PyDict_Next⚠
PyDict_Pop⚠Py_3_13 and neither Py_LIMITED_API nor RustPython
PyDict_PopString⚠Py_3_13 and neither Py_LIMITED_API nor RustPython
PyDict_SetDefault⚠Neither Py_LIMITED_API nor RustPython and non-GraalPy
PyDict_SetDefaultRef⚠Py_3_13 and (Py_3_15 or non-Py_LIMITED_API)
PyDict_SetItem⚠
PyDict_SetItemString⚠
PyDict_Size⚠
PyDict_Unwatch⚠Py_3_12 and neither Py_LIMITED_API nor RustPython and non-GraalPy
PyDict_Update⚠
PyDict_Values⚠
PyDict_Watch⚠Py_3_12 and neither Py_LIMITED_API nor RustPython and non-GraalPy
PyErr_BadArgument⚠
PyErr_BadInternalCall⚠Non-PyPy
PyErr_CheckSignals⚠
PyErr_Clear⚠
PyErr_Display⚠
PyErr_DisplayException⚠Py_3_12
PyErr_ExceptionMatches⚠
PyErr_Fetch⚠Deprecated
PyErr_Format⚠
PyErr_GetExcInfo⚠
PyErr_GetHandledException⚠Py_3_11
PyErr_GetRaisedException⚠Py_3_12
PyErr_GivenExceptionMatches⚠
PyErr_NewException⚠
PyErr_NewExceptionWithDoc⚠
PyErr_NoMemory⚠
PyErr_NormalizeException⚠Deprecated
PyErr_Occurred⚠
PyErr_Print⚠
PyErr_PrintEx⚠
PyErr_ProgramText⚠
PyErr_ResourceWarning⚠
PyErr_Restore⚠Deprecated
PyErr_SetExcInfo⚠
PyErr_SetFromErrno⚠
PyErr_SetFromErrnoWithFilename⚠
PyErr_SetFromErrnoWithFilenameObject⚠
PyErr_SetFromErrnoWithFilenameObjects⚠
PyErr_SetHandledException⚠Py_3_11
PyErr_SetImportError⚠
PyErr_SetImportErrorSubclass⚠
PyErr_SetInterrupt⚠
PyErr_SetInterruptEx⚠Py_3_10
PyErr_SetNone⚠
PyErr_SetObject⚠
PyErr_SetRaisedException⚠Py_3_12
PyErr_SetString⚠
PyErr_SyntaxLocation⚠
PyErr_SyntaxLocationEx⚠
PyErr_WarnEx⚠
PyErr_WarnExplicit⚠
PyErr_WarnExplicitObject⚠Neither Py_LIMITED_API nor RustPython
PyErr_WarnFormat⚠
PyErr_WriteUnraisable⚠
PyEval_AcquireThread⚠
PyEval_EvalCode⚠
PyEval_EvalCodeEx⚠
PyEval_EvalFrame⚠
PyEval_EvalFrameEx⚠
PyEval_GetBuiltins⚠
PyEval_GetFrame⚠
PyEval_GetFrameBuiltins⚠Py_3_13
PyEval_GetFrameGlobals⚠Py_3_13
PyEval_GetFrameLocals⚠Py_3_13
PyEval_GetFuncDesc⚠
PyEval_GetFuncName⚠
PyEval_GetGlobals⚠
PyEval_GetLocals⚠
PyEval_InitThreads⚠Deprecated
PyEval_ReleaseThread⚠
PyEval_RestoreThread⚠
PyEval_SaveThread⚠
PyEval_SetProfile⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyEval_SetProfileAllThreads⚠Py_3_12 and neither Py_LIMITED_API nor RustPython and non-PyPy
PyEval_SetTrace⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyEval_SetTraceAllThreads⚠Py_3_12 and neither Py_LIMITED_API nor RustPython and non-PyPy
PyExceptionClass_Check⚠Non-RustPython
PyExceptionInstance_Check⚠Non-RustPython
PyExceptionInstance_Class⚠Non-PyPy
PyException_GetCause⚠
PyException_GetContext⚠
PyException_GetTraceback⚠
PyException_SetCause⚠
PyException_SetContext⚠
PyException_SetTraceback⚠
PyFile_FromFd⚠
PyFile_GetLine⚠
PyFile_WriteObject⚠
PyFile_WriteString⚠
PyFloat_AS_DOUBLE⚠Neither Py_LIMITED_API nor RustPython
PyFloat_AsDouble⚠
PyFloat_Check⚠Non-RustPython
PyFloat_CheckExact⚠Non-RustPython
PyFloat_FromDouble⚠
PyFloat_FromString⚠
PyFloat_GetInfo⚠
PyFloat_GetMax⚠
PyFloat_GetMin⚠
PyFloat_Pack2⚠Py_3_11 and neither Py_LIMITED_API nor RustPython
PyFloat_Pack4⚠Py_3_11 and neither Py_LIMITED_API nor RustPython
PyFloat_Pack8⚠Py_3_11 and neither Py_LIMITED_API nor RustPython
PyFloat_Unpack2⚠Py_3_11 and neither Py_LIMITED_API nor RustPython
PyFloat_Unpack4⚠Py_3_11 and neither Py_LIMITED_API nor RustPython
PyFloat_Unpack8⚠Py_3_11 and neither Py_LIMITED_API nor RustPython
PyFrameLocalsProxy_Check⚠Py_3_13 and neither Py_LIMITED_API nor RustPython
PyFrame_BlockSetup⚠Neither Py_LIMITED_API nor RustPython
PyFrame_Check⚠Neither Py_LIMITED_API nor RustPython
PyFrame_FastToLocals⚠Neither Py_LIMITED_API nor RustPython
PyFrame_FastToLocalsWithError⚠Neither Py_LIMITED_API nor RustPython
PyFrame_GetBack⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyFrame_GetBuiltins⚠Py_3_11 and neither Py_LIMITED_API nor RustPython
PyFrame_GetCode⚠(Py_3_10 or non-Py_LIMITED_API) and non-GraalPy
PyFrame_GetGenerator⚠Py_3_11 and neither Py_LIMITED_API nor RustPython
PyFrame_GetGlobals⚠Py_3_11 and neither Py_LIMITED_API nor RustPython
PyFrame_GetLasti⚠Py_3_11 and neither Py_LIMITED_API nor RustPython
PyFrame_GetLineNumber⚠
PyFrame_GetLocals⚠Py_3_11 and neither Py_LIMITED_API nor RustPython
PyFrame_GetVar⚠Py_3_12 and neither Py_LIMITED_API nor RustPython
PyFrame_GetVarString⚠Py_3_12 and neither Py_LIMITED_API nor RustPython
PyFrame_LocalsToFast⚠Neither Py_LIMITED_API nor RustPython
PyFrame_New⚠Neither Py_LIMITED_API nor RustPython and non-GraalPy
PyFrozenSet_Check⚠Neither RustPython, nor PyPy and non-Py_3_12
PyFrozenSet_CheckExact⚠Neither GraalPy, nor RustPython, nor PyPy and non-Py_3_12
PyFrozenSet_New⚠
PyFunction_Check⚠Neither Py_LIMITED_API nor RustPython
PyFunction_GET_ANNOTATIONS⚠Neither Py_LIMITED_API nor RustPython and non-GraalPy and non-PyPy
PyFunction_GET_CLOSURE⚠Neither Py_LIMITED_API nor RustPython and non-GraalPy and non-PyPy
PyFunction_GET_CODE⚠Neither Py_LIMITED_API nor RustPython and non-GraalPy and non-PyPy
PyFunction_GET_DEFAULTS⚠Neither Py_LIMITED_API nor RustPython and non-GraalPy and non-PyPy
PyFunction_GET_GLOBALS⚠Neither Py_LIMITED_API nor RustPython and non-GraalPy and non-PyPy
PyFunction_GET_KW_DEFAULTS⚠Neither Py_LIMITED_API nor RustPython and non-GraalPy and non-PyPy
PyFunction_GET_MODULE⚠Neither Py_LIMITED_API nor RustPython and non-GraalPy and non-PyPy
PyFunction_GetAnnotations⚠Neither Py_LIMITED_API nor RustPython
PyFunction_GetClosure⚠Neither Py_LIMITED_API nor RustPython
PyFunction_GetCode⚠Neither Py_LIMITED_API nor RustPython
PyFunction_GetDefaults⚠Neither Py_LIMITED_API nor RustPython
PyFunction_GetGlobals⚠Neither Py_LIMITED_API nor RustPython
PyFunction_GetKwDefaults⚠Neither Py_LIMITED_API nor RustPython
PyFunction_GetModule⚠Neither Py_LIMITED_API nor RustPython
PyFunction_New⚠Neither Py_LIMITED_API nor RustPython
PyFunction_NewWithQualName⚠Neither Py_LIMITED_API nor RustPython
PyFunction_SetAnnotations⚠Neither Py_LIMITED_API nor RustPython
PyFunction_SetClosure⚠Neither Py_LIMITED_API nor RustPython
PyFunction_SetDefaults⚠Neither Py_LIMITED_API nor RustPython
PyFunction_SetKwDefaults⚠Neither Py_LIMITED_API nor RustPython
PyGC_Collect⚠
PyGC_Disable⚠Py_3_10
PyGC_Enable⚠Py_3_10
PyGC_IsEnabled⚠Py_3_10
PyGILState_Check⚠Neither Py_LIMITED_API nor RustPython
PyGILState_Ensure⚠Py_3_14 or WebAssembly
PyGILState_GetThisThreadState⚠Non-PyPy
PyGILState_Release⚠
PyGen_Check⚠Neither Py_LIMITED_API nor RustPython
PyGen_CheckExact⚠Neither Py_LIMITED_API nor RustPython
PyGen_New⚠Neither Py_LIMITED_API nor RustPython
PyHash_GetFuncDef⚠(Py_3_13 or non-PyPy) and neither Py_LIMITED_API nor RustPython and non-PyPy
PyImport_AddModule⚠
PyImport_AddModuleObject⚠
PyImport_AddModuleRef⚠Py_3_13
PyImport_AppendInittab⚠
PyImport_ExecCodeModule⚠
PyImport_ExecCodeModuleEx⚠
PyImport_ExecCodeModuleObject⚠
PyImport_ExecCodeModuleWithPathnames⚠
PyImport_ExtendInittab⚠(Py_3_14 or non-PyPy) and neither Py_LIMITED_API nor RustPython and non-PyPy
PyImport_GetImporter⚠
PyImport_GetMagicNumber⚠
PyImport_GetMagicTag⚠
PyImport_GetModule⚠
PyImport_GetModuleDict⚠
PyImport_Import⚠
PyImport_ImportFrozenModule⚠
PyImport_ImportFrozenModuleObject⚠
PyImport_ImportModule⚠
PyImport_ImportModuleAttr⚠Py_3_14 and (Py_3_14 or non-PyPy) and neither Py_LIMITED_API nor RustPython
PyImport_ImportModuleAttrString⚠Py_3_14 and (Py_3_14 or non-PyPy) and neither Py_LIMITED_API nor RustPython
PyImport_ImportModuleEx⚠
PyImport_ImportModuleLevel⚠
PyImport_ImportModuleLevelObject⚠
PyImport_ImportModuleNoBlock⚠DeprecatedNon-Py_3_15
PyImport_ReloadModule⚠
PyIndex_Check⚠
PyInitConfig_AddModule⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyInitConfig_Create⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyInitConfig_Free⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyInitConfig_FreeStrList⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyInitConfig_GetError⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyInitConfig_GetExitCode⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyInitConfig_GetInt⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyInitConfig_GetStr⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyInitConfig_GetStrList⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyInitConfig_HasOption⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyInitConfig_SetInt⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyInitConfig_SetStr⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyInitConfig_SetStrList⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyInterpreterState_Clear⚠Non-PyPy
PyInterpreterState_Delete⚠Non-PyPy
PyInterpreterState_Get⚠Non-PyPy
PyInterpreterState_GetDict⚠Non-PyPy
PyInterpreterState_GetID⚠Non-PyPy
PyInterpreterState_Head⚠Neither Py_LIMITED_API nor RustPython
PyInterpreterState_Main⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyInterpreterState_New⚠Non-PyPy
PyInterpreterState_Next⚠Neither Py_LIMITED_API nor RustPython
PyInterpreterState_ThreadHead⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyIter_Check⚠
PyIter_Next⚠
PyIter_NextItem⚠Py_3_14
PyIter_Send⚠Py_3_10 and non-PyPy
PyList_Append⚠
PyList_AsTuple⚠
PyList_Check⚠Non-RustPython
PyList_CheckExact⚠Non-RustPython
PyList_Clear⚠Py_3_13
PyList_Extend⚠Py_3_13
PyList_GET_ITEM⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
Macro, trading safety for speed
PyList_GET_SIZE⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyList_GetItem⚠
PyList_GetItemRef⚠Py_3_13
PyList_GetSlice⚠
PyList_Insert⚠
PyList_New⚠
PyList_Reverse⚠
PyList_SET_ITEM⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
Macro, only to be used to fill in brand new lists
PyList_SetItem⚠
PyList_SetSlice⚠
PyList_Size⚠
PyList_Sort⚠
PyLongWriter_Create⚠
PyLongWriter_Discard⚠
PyLongWriter_Finish⚠
PyLong_AsDouble⚠
PyLong_AsInt32⚠Py_3_14
PyLong_AsInt64⚠Py_3_14
PyLong_AsLong⚠
PyLong_AsLongAndOverflow⚠
PyLong_AsLongLong⚠
PyLong_AsLongLongAndOverflow⚠
PyLong_AsNativeBytes⚠Py_3_14, or Py_3_13 and non-Py_LIMITED_API
PyLong_AsSize_t⚠
PyLong_AsSsize_t⚠
PyLong_AsUInt32⚠Py_3_14
PyLong_AsUInt64⚠Py_3_14
PyLong_AsUnsignedLong⚠
PyLong_AsUnsignedLongLong⚠
PyLong_AsUnsignedLongLongMask⚠
PyLong_AsUnsignedLongMask⚠
PyLong_AsVoidPtr⚠
PyLong_Check⚠Non-RustPython
PyLong_CheckExact⚠Non-RustPython
PyLong_Export⚠
PyLong_FreeExport⚠
PyLong_FromDouble⚠
PyLong_FromInt32⚠Py_3_14
PyLong_FromInt64⚠Py_3_14
PyLong_FromLong⚠
PyLong_FromLongLong⚠
PyLong_FromNativeBytes⚠Py_3_14, or Py_3_13 and non-Py_LIMITED_API
PyLong_FromSize_t⚠
PyLong_FromSsize_t⚠
PyLong_FromString⚠
PyLong_FromUInt32⚠Py_3_14
PyLong_FromUInt64⚠Py_3_14
PyLong_FromUnicodeObject⚠Py_3_13 and neither Py_LIMITED_API nor RustPython
PyLong_FromUnsignedLong⚠
PyLong_FromUnsignedLongLong⚠
PyLong_FromUnsignedNativeBytes⚠Py_3_14, or Py_3_13 and non-Py_LIMITED_API
PyLong_FromVoidPtr⚠
PyLong_GetInfo⚠
PyLong_GetNativeLayout⚠
PyLong_IsNegative⚠Py_3_14 and neither Py_LIMITED_API nor RustPython
PyLong_IsPositive⚠Py_3_14 and neither Py_LIMITED_API nor RustPython
PyLong_IsZero⚠Py_3_14 and neither Py_LIMITED_API nor RustPython
PyMapping_Check⚠
PyMapping_DelItem⚠
PyMapping_DelItemString⚠
PyMapping_GetItemString⚠
PyMapping_GetOptionalItem⚠Py_3_13
PyMapping_GetOptionalItemString⚠Py_3_13
PyMapping_HasKey⚠
PyMapping_HasKeyString⚠
PyMapping_HasKeyStringWithError⚠Py_3_13
PyMapping_HasKeyWithError⚠Py_3_13
PyMapping_Items⚠
PyMapping_Keys⚠
PyMapping_Length⚠
PyMapping_SetItemString⚠
PyMapping_Size⚠
PyMapping_Values⚠
PyMarshal_ReadLastObjectFromFile⚠Neither Py_LIMITED_API nor RustPython and non-GraalPy
PyMarshal_ReadLongFromFile⚠Neither Py_LIMITED_API nor RustPython and non-GraalPy
PyMarshal_ReadObjectFromFile⚠Neither Py_LIMITED_API nor RustPython and non-GraalPy
PyMarshal_ReadObjectFromString⚠Neither Py_LIMITED_API nor RustPython and non-GraalPy
PyMarshal_ReadShortFromFile⚠Neither Py_LIMITED_API nor RustPython and non-GraalPy
PyMarshal_WriteLongToFile⚠Neither Py_LIMITED_API nor RustPython and non-GraalPy
PyMarshal_WriteObjectToFile⚠Neither Py_LIMITED_API nor RustPython and non-GraalPy
PyMarshal_WriteObjectToString⚠Neither Py_LIMITED_API nor RustPython and non-GraalPy
PyMem_Calloc⚠
PyMem_Free⚠
PyMem_GetAllocator⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyMem_Malloc⚠
PyMem_RawCalloc⚠Neither Py_LIMITED_API nor RustPython
PyMem_RawFree⚠Neither Py_LIMITED_API nor RustPython
PyMem_RawMalloc⚠Neither Py_LIMITED_API nor RustPython
PyMem_RawRealloc⚠Neither Py_LIMITED_API nor RustPython
PyMem_Realloc⚠
PyMem_SetAllocator⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyMem_SetupDebugHooks⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyMember_GetOne⚠
PyMember_SetOne⚠
PyMemoryView_Check⚠Non-RustPython
PyMemoryView_FromBuffer⚠Py_3_11 or non-Py_LIMITED_API
PyMemoryView_FromMemory⚠
PyMemoryView_FromObject⚠
PyMemoryView_GetContiguous⚠
PyModuleDef_Init⚠
PyModule_Add⚠Py_3_13
PyModule_AddFunctions⚠
PyModule_AddIntConstant⚠
PyModule_AddObject⚠
PyModule_AddObjectRef⚠Py_3_10
PyModule_AddStringConstant⚠
PyModule_AddType⚠Py_3_10 or non-Py_LIMITED_API
PyModule_Check⚠Non-RustPython
PyModule_CheckExact⚠Non-RustPython
PyModule_Create⚠
PyModule_Create2⚠
PyModule_ExecDef⚠
PyModule_FromDefAndSpec⚠
PyModule_FromDefAndSpec2⚠
PyModule_GetDef⚠
PyModule_GetDict⚠
PyModule_GetFilename⚠DeprecatedNot (PyPy and Windows)
PyModule_GetFilenameObject⚠Non-PyPy
PyModule_GetName⚠
PyModule_GetNameObject⚠Non-PyPy
PyModule_GetState⚠
PyModule_New⚠
PyModule_NewObject⚠
PyModule_SetDocString⚠
PyMutex_IsLocked⚠Py_3_13 and Py_3_14 and neither Py_LIMITED_API nor RustPython
PyMutex_Lock⚠Py_3_13 and neither Py_LIMITED_API nor RustPython
PyMutex_Unlock⚠Py_3_13 and neither Py_LIMITED_API nor RustPython
PyNumber_Absolute⚠
PyNumber_Add⚠
PyNumber_And⚠
PyNumber_AsSsize_t⚠
PyNumber_Check⚠
PyNumber_Divmod⚠
PyNumber_Float⚠
PyNumber_FloorDivide⚠
PyNumber_InPlaceAdd⚠
PyNumber_InPlaceAnd⚠
PyNumber_InPlaceFloorDivide⚠
PyNumber_InPlaceLshift⚠
PyNumber_InPlaceMatrixMultiply⚠
PyNumber_InPlaceMultiply⚠
PyNumber_InPlaceOr⚠
PyNumber_InPlacePower⚠
PyNumber_InPlaceRemainder⚠
PyNumber_InPlaceRshift⚠
PyNumber_InPlaceSubtract⚠
PyNumber_InPlaceTrueDivide⚠
PyNumber_InPlaceXor⚠
PyNumber_Index⚠
PyNumber_Invert⚠
PyNumber_Long⚠
PyNumber_Lshift⚠
PyNumber_MatrixMultiply⚠
PyNumber_Multiply⚠
PyNumber_Negative⚠
PyNumber_Or⚠
PyNumber_Positive⚠
PyNumber_Power⚠
PyNumber_Remainder⚠
PyNumber_Rshift⚠
PyNumber_Subtract⚠
PyNumber_ToBase⚠
PyNumber_TrueDivide⚠
PyNumber_Xor⚠
PyOS_AfterFork⚠Deprecated
PyOS_AfterFork_Child⚠
PyOS_AfterFork_Parent⚠
PyOS_BeforeFork⚠
PyOS_FSPath⚠
PyOS_InterruptOccurred⚠
PyOS_double_to_string⚠
PyOS_getsig⚠
PyOS_setsig⚠
PyOS_string_to_double⚠
PyOS_strtol⚠
PyOS_strtoul⚠
PyObject_ASCII⚠
PyObject_AsFileDescriptor⚠
PyObject_Bytes⚠
PyObject_Call⚠
PyObject_CallFinalizer⚠Neither Py_LIMITED_API nor RustPython
PyObject_CallFinalizerFromDealloc⚠Py_3_15 or non-Py_LIMITED_API
PyObject_CallFunction⚠
PyObject_CallFunctionObjArgs⚠
PyObject_CallMethod⚠
PyObject_CallMethodNoArgs⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyObject_CallMethodObjArgs⚠
PyObject_CallMethodOneArg⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyObject_CallNoArgs⚠(Py_3_10 or non-Py_LIMITED_API) and non-PyPy
PyObject_CallObject⚠
PyObject_CallOneArg⚠(Py_3_12 or PyPy) and neither Py_LIMITED_API nor RustPython
PyObject_Calloc⚠
PyObject_CheckBuffer⚠Py_3_11 and non-PyPy
PyObject_ClearWeakRefs⚠
PyObject_CopyData⚠Py_3_11
PyObject_DelAttr⚠Py_3_13, or PyPy and non-Py_3_11
PyObject_DelAttrString⚠Py_3_13, or PyPy and non-Py_3_11
PyObject_DelItem⚠
PyObject_DelItemString⚠
PyObject_Dir⚠
PyObject_Format⚠
PyObject_Free⚠
PyObject_GC_Del⚠
PyObject_GC_IsFinalized⚠Py_3_10 or non-PyPy
PyObject_GC_IsTracked⚠Py_3_10 or non-PyPy
PyObject_GC_New⚠
PyObject_GC_NewVar⚠
PyObject_GC_Resize⚠
PyObject_GC_Track⚠Non-PyPy
PyObject_GC_UnTrack⚠Non-PyPy
PyObject_GET_WEAKREFS_LISTPTR⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyObject_GenericGetAttr⚠
PyObject_GenericGetDict⚠Not (Py_LIMITED_API and non-Py_3_10)
PyObject_GenericHash⚠Py_3_13 and (Py_3_13 or non-PyPy) and neither Py_LIMITED_API nor RustPython
PyObject_GenericSetAttr⚠
PyObject_GenericSetDict⚠
PyObject_GetAIter⚠Py_3_10
PyObject_GetArenaAllocator⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyObject_GetAttr⚠
PyObject_GetAttrString⚠
PyObject_GetBuffer⚠Py_3_11
PyObject_GetItem⚠
PyObject_GetIter⚠
PyObject_GetOptionalAttr⚠Py_3_13
PyObject_GetOptionalAttrString⚠Py_3_13
PyObject_GetTypeData⚠Py_3_12
PyObject_HasAttr⚠
PyObject_HasAttrString⚠
PyObject_HasAttrStringWithError⚠Py_3_13
PyObject_HasAttrWithError⚠Py_3_13
PyObject_Hash⚠
PyObject_HashNotImplemented⚠
PyObject_IS_GC⚠Neither Py_LIMITED_API nor RustPython
PyObject_Init⚠
PyObject_InitVar⚠
PyObject_IsInstance⚠
PyObject_IsSubclass⚠
PyObject_IsTrue⚠
PyObject_Length⚠
PyObject_LengthHint⚠Neither Py_LIMITED_API nor RustPython
PyObject_Malloc⚠
PyObject_New⚠
PyObject_NewVar⚠
PyObject_Not⚠
PyObject_Print⚠Neither Py_LIMITED_API nor RustPython
PyObject_Realloc⚠
PyObject_Repr⚠
PyObject_RichCompare⚠
PyObject_RichCompareBool⚠
PyObject_SelfIter⚠
PyObject_SetArenaAllocator⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyObject_SetAttr⚠
PyObject_SetAttrString⚠
PyObject_SetItem⚠
PyObject_Size⚠
PyObject_Str⚠
PyObject_Type⚠
PyObject_TypeCheck⚠
PyObject_Vectorcall⚠Py_3_12, or Py_3_11 and non-Py_LIMITED_API
PyObject_VectorcallDict⚠Neither Py_LIMITED_API nor RustPython
PyObject_VectorcallMethod⚠Py_3_12 or neither Py_LIMITED_API nor PyPy
PyPreConfig_InitIsolatedConfig⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyPreConfig_InitPythonConfig⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyRange_Check⚠Non-RustPython
PyRun_AnyFile⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyRun_AnyFileEx⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyRun_AnyFileExFlags⚠Neither Py_LIMITED_API nor RustPython
PyRun_AnyFileFlags⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyRun_File⚠Neither Py_LIMITED_API nor RustPython
PyRun_FileEx⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyRun_FileExFlags⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyRun_FileFlags⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyRun_InteractiveLoop⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyRun_InteractiveLoopFlags⚠Neither Py_LIMITED_API nor RustPython
PyRun_InteractiveOne⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyRun_InteractiveOneFlags⚠Neither Py_LIMITED_API nor RustPython
PyRun_InteractiveOneObject⚠Neither Py_LIMITED_API nor RustPython
PyRun_SimpleFile⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyRun_SimpleFileEx⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyRun_SimpleFileExFlags⚠Neither Py_LIMITED_API nor RustPython
PyRun_SimpleString⚠Neither Py_LIMITED_API nor RustPython
PyRun_SimpleStringFlags⚠Neither Py_LIMITED_API nor RustPython
PyRun_String⚠Neither Py_LIMITED_API nor RustPython
PyRun_StringFlags⚠Neither Py_LIMITED_API nor RustPython
PySeqIter_Check⚠Non-RustPython
PySeqIter_New⚠
PySequence_Check⚠
PySequence_Concat⚠
PySequence_Contains⚠
PySequence_Count⚠
PySequence_DelItem⚠
PySequence_DelSlice⚠
PySequence_Fast⚠
PySequence_Fast_GET_ITEM⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PySequence_Fast_GET_SIZE⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PySequence_Fast_ITEMS⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PySequence_GetItem⚠
PySequence_GetSlice⚠
PySequence_ITEM⚠Neither Py_LIMITED_API nor RustPython
PySequence_In⚠
PySequence_InPlaceConcat⚠
PySequence_InPlaceRepeat⚠
PySequence_Index⚠
PySequence_Length⚠
PySequence_List⚠
PySequence_Repeat⚠
PySequence_SetItem⚠
PySequence_SetSlice⚠
PySequence_Size⚠
PySequence_Tuple⚠
PySet_Add⚠
PySet_Check⚠Neither RustPython, nor PyPy and non-Py_3_12
PySet_CheckExact⚠Py_3_10 and non-RustPython
PySet_Clear⚠
PySet_Contains⚠
PySet_Discard⚠
PySet_GET_SIZE⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PySet_New⚠
PySet_Pop⚠
PySet_Size⚠
PySlice_AdjustIndices⚠
PySlice_Check⚠Non-RustPython
PySlice_GetIndices⚠
PySlice_GetIndicesEx⚠
PySlice_New⚠
PySlice_Unpack⚠
PyState_AddModule⚠
PyState_FindModule⚠
PyState_RemoveModule⚠
PyStaticMethod_New⚠Neither Py_LIMITED_API nor RustPython
PyStatus_Error⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyStatus_Exception⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyStatus_Exit⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyStatus_IsError⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyStatus_IsExit⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyStatus_NoMemory⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyStatus_Ok⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyStructSequence_GET_ITEM⚠Neither GraalPy nor Py_LIMITED_API nor PyPy
PyStructSequence_GetItem⚠Non-PyPy
PyStructSequence_InitType⚠Non-Py_LIMITED_API
PyStructSequence_InitType2⚠Non-Py_LIMITED_API
PyStructSequence_New⚠
PyStructSequence_NewType⚠Non-PyPy
PyStructSequence_SET_ITEM⚠Neither GraalPy nor Py_LIMITED_API nor PyPy
PyStructSequence_SetItem⚠Non-PyPy
PySys_AddWarnOption⚠Deprecated
PySys_AddWarnOptionUnicode⚠Deprecated
PySys_AddXOption⚠
PySys_FormatStderr⚠
PySys_FormatStdout⚠
PySys_GetObject⚠
PySys_GetXOptions⚠
PySys_HasWarnOptions⚠Deprecated
PySys_ResetWarnOptions⚠DeprecatedNon-Py_3_15
PySys_SetArgv⚠Deprecated
PySys_SetArgvEx⚠Deprecated
PySys_SetObject⚠
PySys_SetPath⚠
PySys_WriteStderr⚠
PySys_WriteStdout⚠
PyTZInfo_Check⚠Non-Py_LIMITED_API
Check if op is a PyDateTimeAPI.TZInfoType or subtype.
PyTZInfo_CheckExact⚠Non-Py_LIMITED_API
Check if op’s type is exactly PyDateTimeAPI.TZInfoType.
PyThreadState_Clear⚠
PyThreadState_Delete⚠
PyThreadState_DeleteCurrent⚠Neither Py_LIMITED_API nor RustPython
PyThreadState_EnterTracing⚠Py_3_11 and neither Py_LIMITED_API nor RustPython
PyThreadState_GET⚠
PyThreadState_Get⚠
PyThreadState_GetDict⚠
PyThreadState_GetFrame⚠(Py_3_10 or non-Py_LIMITED_API) and non-PyPy
PyThreadState_GetID⚠(Py_3_10 or non-Py_LIMITED_API) and non-PyPy
PyThreadState_GetInterpreter⚠(Py_3_10 or non-Py_LIMITED_API) and non-PyPy
PyThreadState_GetUnchecked⚠Py_3_13 and neither Py_LIMITED_API nor RustPython
PyThreadState_LeaveTracing⚠Py_3_11 and neither Py_LIMITED_API nor RustPython
PyThreadState_New⚠
PyThreadState_Next⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyThreadState_SetAsyncExc⚠Non-PyPy
PyThreadState_Swap⚠
PyThread_get_thread_ident⚠
PyThread_tss_alloc⚠
PyThread_tss_create⚠
PyThread_tss_delete⚠
PyThread_tss_free⚠
PyThread_tss_get⚠
PyThread_tss_is_created⚠
PyThread_tss_set⚠
PyTimeZone_FromOffset⚠Non-Py_LIMITED_API
PyTimeZone_FromOffsetAndName⚠Non-Py_LIMITED_API
PyTime_Check⚠Non-Py_LIMITED_API
Check if op is a PyDateTimeAPI.TimeType or subtype.
PyTime_CheckExact⚠Non-Py_LIMITED_API
Check if op’s type is exactly PyDateTimeAPI.TimeType.
PyTime_FromTime⚠Non-Py_LIMITED_API
PyTime_FromTimeAndFold⚠Non-Py_LIMITED_API
PyTraceBack_Check⚠Neither RustPython, nor PyPy and non-Py_3_12
PyTraceBack_Here⚠
PyTraceBack_Print⚠
PyTuple_Check⚠Non-RustPython
PyTuple_CheckExact⚠Non-RustPython
PyTuple_GET_ITEM⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyTuple_GET_SIZE⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
Macro, trading safety for speed
PyTuple_GetItem⚠
PyTuple_GetSlice⚠
PyTuple_New⚠
PyTuple_Pack⚠
PyTuple_SET_ITEM⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
Macro, only to be used to fill in brand new tuples
PyTuple_SetItem⚠
PyTuple_Size⚠
PyType_Check⚠Non-RustPython
PyType_CheckExact⚠Non-RustPython
PyType_ClearCache⚠
PyType_FastSubclass⚠Non-RustPython
PyType_Freeze⚠Py_3_14
PyType_FromMetaclass⚠Py_3_12
PyType_FromModuleAndSpec⚠Py_3_10 or non-Py_LIMITED_API
PyType_FromSpec⚠
PyType_FromSpecWithBases⚠
PyType_GenericAlloc⚠
PyType_GenericNew⚠
PyType_GetBaseByToken⚠Py_3_14
PyType_GetDict⚠Py_3_12 and neither Py_LIMITED_API nor RustPython
PyType_GetFlags⚠
PyType_GetFullyQualifiedName⚠Py_3_13
PyType_GetModule⚠Py_3_10 or non-Py_LIMITED_API
PyType_GetModuleByDef⚠Py_3_13, or Py_3_11 and non-Py_LIMITED_API
PyType_GetModuleName⚠Py_3_13
PyType_GetModuleState⚠Py_3_10 or non-Py_LIMITED_API
PyType_GetName⚠Py_3_11
PyType_GetQualName⚠Py_3_11
PyType_GetSlot⚠
PyType_GetTypeDataSize⚠Py_3_12
PyType_HasFeature⚠
PyType_IS_GC⚠
PyType_IsSubtype⚠
PyType_Modified⚠
PyType_Ready⚠
PyType_SUPPORTS_WEAKREFS⚠Neither Py_LIMITED_API nor RustPython
PyUnicodeDecodeError_Create⚠Non-PyPy
PyUnicodeDecodeError_GetEncoding⚠
PyUnicodeDecodeError_GetEnd⚠
PyUnicodeDecodeError_GetObject⚠
PyUnicodeDecodeError_GetReason⚠
PyUnicodeDecodeError_GetStart⚠
PyUnicodeDecodeError_SetEnd⚠
PyUnicodeDecodeError_SetReason⚠
PyUnicodeDecodeError_SetStart⚠
PyUnicodeEncodeError_GetEncoding⚠
PyUnicodeEncodeError_GetEnd⚠
PyUnicodeEncodeError_GetObject⚠
PyUnicodeEncodeError_GetReason⚠
PyUnicodeEncodeError_GetStart⚠
PyUnicodeEncodeError_SetEnd⚠
PyUnicodeEncodeError_SetReason⚠
PyUnicodeEncodeError_SetStart⚠
PyUnicodeTranslateError_GetEnd⚠
PyUnicodeTranslateError_GetObject⚠
PyUnicodeTranslateError_GetReason⚠
PyUnicodeTranslateError_GetStart⚠
PyUnicodeTranslateError_SetEnd⚠
PyUnicodeTranslateError_SetReason⚠
PyUnicodeTranslateError_SetStart⚠
PyUnicodeWriter_Create⚠Py_3_14 and neither Py_LIMITED_API nor RustPython
PyUnicodeWriter_Discard⚠Py_3_14 and neither Py_LIMITED_API nor RustPython
PyUnicodeWriter_Finish⚠Py_3_14 and neither Py_LIMITED_API nor RustPython
PyUnicodeWriter_WriteChar⚠Py_3_14 and neither Py_LIMITED_API nor RustPython
PyUnicodeWriter_WriteUTF8⚠Py_3_14 and neither Py_LIMITED_API nor RustPython
PyUnicode_1BYTE_DATA⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyUnicode_2BYTE_DATA⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyUnicode_4BYTE_DATA⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyUnicode_Append⚠
PyUnicode_AppendAndDel⚠
PyUnicode_AsASCIIString⚠
PyUnicode_AsCharmapString⚠
PyUnicode_AsDecodedObject⚠DeprecatedNon-Py_3_15
PyUnicode_AsDecodedUnicode⚠DeprecatedNon-Py_3_15
PyUnicode_AsEncodedObject⚠DeprecatedNon-Py_3_15
PyUnicode_AsEncodedString⚠
PyUnicode_AsEncodedUnicode⚠DeprecatedNon-Py_3_15
PyUnicode_AsLatin1String⚠
PyUnicode_AsRawUnicodeEscapeString⚠
PyUnicode_AsUCS4⚠
PyUnicode_AsUCS4Copy⚠
PyUnicode_AsUTF8⚠Neither Py_LIMITED_API nor RustPython
PyUnicode_AsUTF8AndSize⚠Py_3_10 or non-Py_LIMITED_API
PyUnicode_AsUTF8String⚠
PyUnicode_AsUTF16String⚠
PyUnicode_AsUTF32String⚠
PyUnicode_AsUnicodeEscapeString⚠
PyUnicode_AsWideChar⚠
PyUnicode_AsWideCharString⚠
PyUnicode_BuildEncodingMap⚠
PyUnicode_Check⚠Neither PyPy nor RustPython
PyUnicode_CheckExact⚠Neither PyPy nor RustPython
PyUnicode_Compare⚠
PyUnicode_CompareWithASCIIString⚠
PyUnicode_Concat⚠
PyUnicode_Contains⚠
PyUnicode_CopyCharacters⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyUnicode_Count⚠
PyUnicode_DATA⚠Neither Py_LIMITED_API nor RustPython
PyUnicode_Decode⚠
PyUnicode_DecodeASCII⚠
PyUnicode_DecodeCharmap⚠
PyUnicode_DecodeFSDefault⚠
PyUnicode_DecodeFSDefaultAndSize⚠
PyUnicode_DecodeLatin1⚠
PyUnicode_DecodeLocale⚠
PyUnicode_DecodeLocaleAndSize⚠
PyUnicode_DecodeRawUnicodeEscape⚠
PyUnicode_DecodeUTF7⚠
PyUnicode_DecodeUTF8⚠
PyUnicode_DecodeUTF7Stateful⚠
PyUnicode_DecodeUTF8Stateful⚠
PyUnicode_DecodeUTF16⚠
PyUnicode_DecodeUTF32⚠
PyUnicode_DecodeUTF16Stateful⚠
PyUnicode_DecodeUTF32Stateful⚠
PyUnicode_DecodeUnicodeEscape⚠
PyUnicode_EncodeFSDefault⚠
PyUnicode_EncodeLocale⚠
PyUnicode_Equal⚠Py_3_14
PyUnicode_EqualToUTF8⚠Py_3_13
PyUnicode_EqualToUTF8AndSize⚠Py_3_13
PyUnicode_FSConverter⚠
PyUnicode_FSDecoder⚠
PyUnicode_Fill⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyUnicode_Find⚠
PyUnicode_FindChar⚠
PyUnicode_Format⚠
PyUnicode_FromEncodedObject⚠
PyUnicode_FromFormat⚠
PyUnicode_FromKindAndData⚠Neither Py_LIMITED_API nor RustPython
PyUnicode_FromObject⚠
PyUnicode_FromOrdinal⚠
PyUnicode_FromString⚠
PyUnicode_FromStringAndSize⚠
PyUnicode_FromWideChar⚠
PyUnicode_GET_LENGTH⚠Neither Py_LIMITED_API nor RustPython and non-GraalPy
PyUnicode_GetDefaultEncoding⚠
PyUnicode_GetLength⚠
PyUnicode_IS_READY⚠Deprecated(GraalPy or Py_3_12) and neither Py_LIMITED_API nor RustPython
PyUnicode_InternFromString⚠
PyUnicode_InternInPlace⚠
PyUnicode_IsIdentifier⚠
PyUnicode_Join⚠
PyUnicode_KIND⚠Neither Py_LIMITED_API nor RustPython
PyUnicode_New⚠Neither Py_LIMITED_API nor RustPython
PyUnicode_Partition⚠
PyUnicode_READY⚠(GraalPy or Py_3_12) and neither Py_LIMITED_API nor RustPython
PyUnicode_RPartition⚠
PyUnicode_RSplit⚠
PyUnicode_ReadChar⚠
PyUnicode_Replace⚠
PyUnicode_Resize⚠
PyUnicode_RichCompare⚠
PyUnicode_Split⚠
PyUnicode_Splitlines⚠
PyUnicode_Substring⚠
PyUnicode_Tailmatch⚠
PyUnicode_Translate⚠
PyUnicode_WriteChar⚠
PyUnstable_Code_GetExtra⚠Neither Py_LIMITED_API nor RustPython
PyUnstable_Code_SetExtra⚠Neither Py_LIMITED_API nor RustPython
PyUnstable_EnableTryIncRef⚠Neither Py_LIMITED_API nor RustPython
PyUnstable_Eval_RequestCodeExtraIndex⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyUnstable_InterpreterFrame_GetCode⚠Py_3_12 and neither Py_LIMITED_API nor RustPython and non-PyPy
PyUnstable_InterpreterFrame_GetLasti⚠Py_3_12 and neither Py_LIMITED_API nor RustPython and non-PyPy
PyUnstable_InterpreterFrame_GetLine⚠Py_3_12 and neither Py_LIMITED_API nor RustPython and non-PyPy
PyUnstable_Object_IsUniqueReferencedTemporary⚠Neither Py_LIMITED_API nor RustPython
PyUnstable_Object_IsUniquelyReferenced⚠Neither Py_LIMITED_API nor RustPython
PyUnstable_TryIncRef⚠Neither Py_LIMITED_API nor RustPython
PyVectorcall_Call⚠Py_3_12 or non-Py_LIMITED_API
PyVectorcall_Function⚠Neither Py_LIMITED_API nor RustPython
PyVectorcall_NARGS⚠Neither Py_LIMITED_API nor RustPython
PyWeakref_Check⚠
PyWeakref_CheckProxy⚠Neither RustPython, nor PyPy and non-Py_3_12
PyWeakref_CheckRef⚠Neither RustPython, nor PyPy and non-Py_3_12
PyWeakref_CheckRefExact⚠Neither RustPython, nor PyPy and non-Py_3_12
PyWeakref_GetObject⚠DeprecatedNon-Py_3_15
PyWeakref_GetRef⚠Py_3_13
PyWeakref_NewProxy⚠
PyWeakref_NewRef⚠
PyWideStringList_Append⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyWideStringList_Insert⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
PyWrapper_New⚠
Py_AddPendingCall⚠
Py_AtExit⚠
Py_BuildValue⚠
Py_BytesMain⚠
Py_CLEAR⚠
Py_CompileString⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
Py_CompileStringExFlags⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
Py_CompileStringFlags⚠Neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
Py_CompileStringObject⚠Neither Py_LIMITED_API nor RustPython
Py_DECREF⚠
Py_DecRef⚠
Py_DecodeLocale⚠
Py_Ellipsis⚠
Py_EncodeLocale⚠
Py_EndInterpreter⚠
Py_EnterRecursiveCall⚠
Py_Exit⚠
Py_ExitStatusException⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
Py_False⚠
Py_FatalError⚠
Py_Finalize⚠
Py_FinalizeEx⚠
Py_GETENV⚠Py_3_11 and neither Py_LIMITED_API nor RustPython and non-PyPy
Py_GenericAlias⚠
Py_GetArgcArgv⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
Py_GetBuildInfo⚠
Py_GetCompiler⚠
Py_GetConstant⚠Py_3_13
Py_GetConstantBorrowed⚠Py_3_13
Py_GetCopyright⚠
Py_GetExecPrefix⚠DeprecatedNon-Py_3_15
Py_GetPath⚠DeprecatedNon-Py_3_15
Py_GetPlatform⚠
Py_GetPrefix⚠DeprecatedNon-Py_3_15
Py_GetProgramFullPath⚠DeprecatedNon-Py_3_15
Py_GetProgramName⚠DeprecatedNon-Py_3_15
Py_GetPythonHome⚠DeprecatedNon-Py_3_15
Py_GetRecursionLimit⚠
Py_GetVersion⚠
Py_HashBuffer⚠Py_3_14 and (Py_3_13 or non-PyPy) and neither Py_LIMITED_API nor RustPython
Py_HashPointer⚠Py_3_13 and (Py_3_13 or non-PyPy) and neither Py_LIMITED_API nor RustPython
Py_INCREF⚠
Py_IS_TYPE⚠Neither RustPython, nor Py_3_15 and Py_LIMITED_API
Py_IncRef⚠
Py_Initialize⚠
Py_InitializeEx⚠
Py_InitializeFromConfig⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
Py_InitializeFromInitConfig⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
Py_Is⚠Neither GraalPy nor PyPy nor RustPython
Py_IsFalse⚠
Py_IsFinalizing⚠Py_3_13
Py_IsInitialized⚠
Py_IsNone⚠
Py_IsTrue⚠
Py_LeaveRecursiveCall⚠
Py_Main⚠
Py_MakePendingCalls⚠
Py_NewInterpreter⚠
Py_NewInterpreterFromConfig⚠Py_3_12 and neither Py_LIMITED_API nor RustPython and non-PyPy
Py_NewRef⚠Py_3_10 and (PyPy or non-Py_LIMITED_API)
Py_None⚠
Py_NotImplemented⚠
Py_PreInitialize⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
Py_PreInitializeFromArgs⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
Py_PreInitializeFromBytesArgs⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
Py_REFCNT⚠Not (Py_3_14 and Py_LIMITED_API)
Py_ReprEnter⚠
Py_ReprLeave⚠
Py_RunMain⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
Py_SIZE⚠Non-RustPython and not (Py_3_15 and Py_LIMITED_API)
Py_SetProgramName⚠Deprecated
Py_SetPythonHome⚠Deprecated
Py_SetRecursionLimit⚠
Py_TYPE⚠Not (Py_3_14 and Py_LIMITED_API)
Py_True⚠
Py_UNICODE_TODECIMAL⚠Neither Py_LIMITED_API nor RustPython and non-PyPy
Py_XDECREF⚠
Py_XINCREF⚠
Py_XNewRef⚠Py_3_10 and (PyPy or non-Py_LIMITED_API)
_PyCode_GetExtra⚠DeprecatedNeither Py_LIMITED_API nor RustPython
_PyCode_SetExtra⚠DeprecatedNeither Py_LIMITED_API nor RustPython
_PyEval_RequestCodeExtraIndex⚠DeprecatedNeither Py_LIMITED_API nor RustPython and non-PyPy
_PyFunction_CAST⚠Neither Py_LIMITED_API nor RustPython and non-GraalPy and non-PyPy
_PyInterpreterState_GetEvalFrameFunc⚠Py_3_11 and neither Py_LIMITED_API nor RustPython and non-PyPy
_PyInterpreterState_SetEvalFrameFunc⚠Neither Py_LIMITED_API nor RustPython and non-PyPy

Type Aliases§

PY_INT32_T
PY_INT64_T
PY_UINT32_T
PY_UINT64_T
PyCFunction
PyCFunctionFastPy_3_10 or non-Py_LIMITED_API
PyCFunctionFastWithKeywordsPy_3_10 or non-Py_LIMITED_API
PyCFunctionWithKeywords
PyCMethodNon-Py_LIMITED_API
PyCapsule_Destructor
PyContextEventPy_3_14 and neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyContext_WatchCallbackPy_3_14 and neither GraalPy nor PyPy and neither Py_LIMITED_API nor RustPython
PyStructSequenceNon-Py_LIMITED_API
Py_UCS1
Py_UCS2
Py_UCS4
Py_UNICODEDeprecatedNeither Py_LIMITED_API nor RustPython and non-Py_LIMITED_API
Py_hash_t
Py_intptr_t
Py_ssize_t
Py_tracefuncNeither Py_LIMITED_API nor RustPython
Py_uhash_t
Py_uintptr_t
_PyCFunctionFastDeprecatedPy_3_10 or non-Py_LIMITED_API
_PyCFunctionFastWithKeywordsDeprecatedPy_3_10 or non-Py_LIMITED_API
_PyFrameEvalFunctionPy_3_11 and neither Py_LIMITED_API nor RustPython and non-PyPy
allocfunc
binaryfunc
descrgetfunc
descrsetfunc
destructor
freefunc
getattrfunc
getattrofunc
getbufferprocPy_3_11
getiterfunc
getter
hashfunc
initproc
inquiry
iternextfunc
lenfunc
newfunc
objobjargproc
objobjproc
printfuncNeither Py_LIMITED_API nor RustPython
releasebufferprocPy_3_11
reprfunc
richcmpfunc
sendfuncPy_3_10 and neither Py_LIMITED_API nor RustPython
setattrfunc
setattrofunc
setter
ssizeargfunc
ssizeobjargproc
ssizessizeargfunc
ssizessizeobjargproc
ternaryfunc
traverseproc
unaryfunc
vectorcallfunc
visitproc
wrapperfuncNeither Py_LIMITED_API nor RustPython
wrapperfunc_kwdsNeither Py_LIMITED_API nor RustPython

Unions§

PyMethodDefPointer
Function types used to implement Python callables.
PyObjectObRefcntPy_3_12 and non-PyPy and non-Py_GIL_DISABLED
This union is anonymous in CPython, so the name was given by PyO3 because Rust union need a name.
PyUnicodeObjectDataNeither Py_LIMITED_API nor RustPython
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here