Expand description
This package contains the python basic/builtin types
7 common PyRef type aliases are exposed - PyBytesRef, PyDictRef, PyIntRef, PyListRef, PyStrRef, PyTypeRef, PyTupleRef
Do not add more PyRef type aliases. They will be rare enough to use directly PyRef<T>.
Re-exports§
pub use descriptor::MemberAccess;pub use descriptor::MemberKind;pub use descriptor::PyDescriptorOwned;pub use descriptor::PyMemberDef as DescriptorMemberDef;pub use descriptor::PyMemberDescriptor;pub use descriptor::PyMemberFlags;
Modules§
Structs§
- Frame
Locals Proxy - Position
Iter Internal - PyArithmetic
Error - PyAssertion
Error - PyAsync
Gen - PyAttribute
Error - PyBase
Exception - PyBase
Exception Group - PyBase
Object - PyBlockingIO
Error - PyBool
- PyBound
Method - PyBroken
Pipe Error - PyBuffer
Error - PyByte
Array - PyBytes
- PyBytes
Warning - PyCallable
Iterator - PyCapsule
- PyChild
Process Error - PyClass
Method - PyCode
- PyComplex
- PyConnection
Aborted Error - PyConnection
Error - PyConnection
Refused Error - PyConnection
Reset Error - PyCoroutine
- PyDeprecation
Warning - PyDict
- PyEOF
Error - PyEllipsis
- PyEncoding
Warning - PyEnumerate
- PyException
- PyFile
Exists Error - PyFile
NotFound Error - PyFilter
- PyFloat
- PyFloating
Point Error - PyFrozen
Set - PyFunction
- PyFuture
Warning - PyGenerator
- PyGenerator
Exit - PyGeneric
Alias - PyGet
Set - PyImport
Error - PyImport
Warning - PyIncomplete
Input Error - PyIndentation
Error - PyIndex
Error - PyInt
- PyInterpolation
- PyInterrupted
Error - PyIsA
Directory Error - PyKey
Error - PyKeyboard
Interrupt - PyList
- PyLookup
Error - PyMap
- PyMapping
Proxy - PyMemory
Error - PyMemory
View - PyModule
- PyModule
Def - PyModule
NotFound Error - PyModule
Slots - PyName
Error - PyNamespace
- PyNone
- PyNotA
Directory Error - PyNot
Implemented - PyNot
Implemented Error - PyOS
Error - PyOverflow
Error - PyPending
Deprecation Warning - PyPermission
Error - PyProcess
Lookup Error - PyProperty
- PyPython
Finalization Error - PyRange
- PyRecursion
Error - PyReference
Error - PyResource
Warning - PyRuntime
Error - PyRuntime
Warning - PySequence
Iterator - PySet
- PySlice
- PyStatic
Method - PyStop
Async Iteration - PyStop
Iteration - PyStr
- PySuper
- PySyntax
Error - PySyntax
Warning - PySystem
Error - PySystem
Exit - PyTab
Error - PyTemplate
- PyTemplate
Iter - PyTimeout
Error - PyTraceback
- PyTuple
- PyType
- PyType
Error - PyUnbound
Local Error - PyUnicode
Decode Error - PyUnicode
Encode Error - PyUnicode
Error - PyUnicode
Translate Error - PyUnicode
Warning - PyUnion
- PyUser
Warning - PyUtf8
Str - PyValue
Error - PyWarning
- PyWeak
- PyWeak
Callable Proxy - PyWeak
Proxy - PyZero
Division Error - PyZip
- Weak
Proxy NewArgs
Enums§
- Iter
Status - Marks status of iterator.
Functions§
- builtins_
iter - builtins_
reversed - init
- locked_
next PositionIterInternal::nextwith the release [locked_step] describes.- locked_
rev_ next locked_nextwalking backwards.- make_
union - object_
generic_ set_ dict - = PyObject_GenericSetDict
- object_
get_ dict - parse_
float_ from_ string - try_
bigint_ to_ f64 - try_
f64_ to_ bigint
Type Aliases§
- PyBase
Exception Ref - PyBytes
Ref - PyDict
Ref - PyInt
Ref - PyList
Ref - PyStr
Interned - The unique reference of interned PyStr Always intended to be used as a static reference
- PyStr
Ref - PyTuple
Ref - PyType
Ref - PyUtf8
StrInterned - Interned PyUtf8Str — guaranteed UTF-8 at type level.
Same layout as
PyStrInterneddue to#[repr(transparent)]on bothPyInterned<T>andPyUtf8Str. - PyUtf8
StrRef