Re-exportsΒ§
use crate::pyport::Py_hash_t;πuse crate::pyport::Py_ssize_t;πuse core::ffi::c_char;πuse core::ffi::c_int;πuse core::ffi::c_uint;πuse core::ffi::c_ulong;πuse core::ffi::c_void;πuse core::mem;πpub use crate::cpython::object::PyTypeObject;Non- Py_LIMITED_API
StructsΒ§
- PyObject
Not ( Py_GIL_DISABLEDandPy_LIMITED_API) - PyObject
ObFlags AndRefcnt 64-bit and Py_3_14and 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.
- PyType_
Slot - PyType_
Spec - PyVar
Object Not ( Py_GIL_DISABLEDandPy_LIMITED_API)
EnumsΒ§
- PySend
Result Py_3_10
ConstantsΒ§
- PyObject_
HEAD_ INIT Not ( Py_GIL_DISABLEDandPy_LIMITED_API) - Py_
CONSTANT_ ELLIPSIS Py_3_13 - Py_
CONSTANT_ EMPTY_ BYTES Py_3_13 - Py_
CONSTANT_ EMPTY_ STR Py_3_13 - Py_
CONSTANT_ EMPTY_ TUPLE Py_3_13 - Py_
CONSTANT_ FALSE Py_3_13 - Py_
CONSTANT_ NONE Py_3_13 - Py_
CONSTANT_ NOT_ IMPLEMENTED Py_3_13 - Py_
CONSTANT_ ONE Py_3_13 - Py_
CONSTANT_ TRUE Py_3_13 - Py_
CONSTANT_ ZERO Py_3_13 - Py_EQ
- Py_GE
- Py_GT
- Py_LE
- Py_LT
- Py_NE
- Py_
PRINT_ RAW - 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_ INSTANTIATION Py_3_10 - Py_
TPFLAGS_ HAVE_ FINALIZE - Py_
TPFLAGS_ HAVE_ GC - Objects support garbage collection (see objimp.h)
- Py_
TPFLAGS_ πHAVE_ STACKLESS_ EXTENSION - Py_
TPFLAGS_ HAVE_ VECTORCALL Py_3_12or 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_ IMMUTABLETYPE Py_3_10 - Py_
TPFLAGS_ IS_ ABSTRACT - Py_
TPFLAGS_ ITEMS_ AT_ END Py_3_12 - Py_
TPFLAGS_ LIST_ SUBCLASS - Py_
TPFLAGS_ LONG_ SUBCLASS - Py_
TPFLAGS_ MANAGED_ DICT Py_3_11and non-Py_LIMITED_API - Py_
TPFLAGS_ MANAGED_ WEAKREF Py_3_12and non-Py_LIMITED_API - Py_
TPFLAGS_ MAPPING Py_3_10and 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_ SEQUENCE Py_3_10and non-Py_LIMITED_API - Py_
TPFLAGS_ TUPLE_ SUBCLASS - Py_
TPFLAGS_ TYPE_ SUBCLASS - Py_
TPFLAGS_ UNICODE_ SUBCLASS - Py_
TPFLAGS_ VALID_ VERSION_ TAG - _PyObject_
MIN_ πALIGNMENT
StaticsΒ§
- PyBase
Object_ βType Non- RustPython - built-in βobjectβ
- PyBool_
Type β - PyLong_
Type β - PySuper_
Type βNon- RustPython - built-in βsuperβ
- PyType_
Type βNon- RustPython - built-in βtypeβ
- _Py_
None π βStruct Non- GraalPyand not (Py_3_13andPy_LIMITED_API) - _Py_
NotImplemented π βStruct Non- GraalPyand not (Py_3_13andPy_LIMITED_API)
FunctionsΒ§
- PyCallable_
Check β - PyObject_
ASCII β - PyObject_
Bytes β - PyObject_
Call βFinalizer From Dealloc Py_3_15or non-Py_LIMITED_API - PyObject_
Clear βWeak Refs - PyObject_
DelAttr βPy_3_13, orPyPyand non-Py_3_11 - PyObject_
DelAttr βString Py_3_13, orPyPyand non-Py_3_11 - PyObject_
Dir β - PyObject_
Generic βGetAttr - PyObject_
Generic βGetDict Not ( Py_LIMITED_APIand non-Py_3_10) - PyObject_
Generic βSetAttr - PyObject_
Generic βSetDict - PyObject_
GetAttr β - PyObject_
GetAttr βString - PyObject_
GetOptional βAttr Py_3_13 - PyObject_
GetOptional βAttr String Py_3_13 - PyObject_
GetType βData Py_3_12 - PyObject_
HasAttr β - PyObject_
HasAttr βString - PyObject_
HasAttr βString With Error Py_3_13 - PyObject_
HasAttr βWith Error Py_3_13 - PyObject_
Hash β - PyObject_
Hash βNotImplemented - PyObject_
IsTrue β - PyObject_
Not β - PyObject_
Repr β - PyObject_
Rich βCompare - PyObject_
Rich βCompare Bool - PyObject_
Self βIter - PyObject_
SetAttr β - PyObject_
SetAttr βString - PyObject_
Str β - PyObject_
Type βCheck - PyType_
Check β - PyType_
Check βExact Non- RustPython - PyType_
Clear βCache - PyType_
Fast βSubclass - PyType_
Freeze βPy_3_14 - PyType_
From βMetaclass Py_3_12 - PyType_
From βModule AndSpec Py_3_10or non-Py_LIMITED_API - PyType_
From βSpec - PyType_
From βSpec With Bases - PyType_
Generic βAlloc - PyType_
Generic βNew - PyType_
GetBase βByToken Py_3_14 - PyType_
GetFlags β - PyType_
GetFully βQualified Name Py_3_13 - PyType_
GetModule βPy_3_10or non-Py_LIMITED_API - PyType_
GetModule βByDef Py_3_13, orPy_3_11and non-Py_LIMITED_API - PyType_
GetModule βName Py_3_13 - PyType_
GetModule βState Py_3_10or non-Py_LIMITED_API - PyType_
GetName βPy_3_11 - PyType_
GetQual βName Py_3_11 - PyType_
GetSlot β - PyType_
GetType βData Size Py_3_12 - PyType_
HasFeature β - PyType_
IsSubtype β - PyType_
Modified β - PyType_
Ready β - Py_
GetConstant βPy_3_13 - Py_
GetConstant βBorrowed Py_3_13 - Py_
IS_ βTYPE Neither RustPython, norPy_3_15andPy_LIMITED_API - Py_Isβ
- Py_
IsNone β - Py_Noneβ
- Py_
NotImplemented β - Py_
Repr βEnter - Py_
Repr βLeave - Py_SIZEβ
Non- RustPythonand not (Py_3_15andPy_LIMITED_API) - Py_TYPEβ
Not ( Py_3_14andPy_LIMITED_API) - _PyVar
Object_ π βCAST
Type AliasesΒ§
- allocfunc
- binaryfunc
- descrgetfunc
- descrsetfunc
- destructor
- freefunc
- getattrfunc
- getattrofunc
- getiterfunc
- hashfunc
- initproc
- inquiry
- iternextfunc
- lenfunc
- newfunc
- objobjargproc
- objobjproc
- reprfunc
- richcmpfunc
- setattrfunc
- setattrofunc
- ssizeargfunc
- ssizeobjargproc
- ssizessizeargfunc
- ssizessizeobjargproc
- ternaryfunc
- traverseproc
- unaryfunc
- vectorcallfunc
- visitproc
UnionsΒ§
- PyObject
ObRefcnt Py_3_12and non-PyPyand non-Py_GIL_DISABLED - This union is anonymous in CPython, so the name was given by PyO3 because Rust union need a name.