Expand description
Python language-defined builtin names and the closed object member surface.
Audited Python 3.0 through 3.15. Unknown/out-of-range versions do not select version-dependent names. Identity is independent of availability and version. Sources: https://docs.python.org/3.15/library/functions.html, https://docs.python.org/3.15/library/exceptions.html and https://docs.python.org/3.15/reference/datamodel.html. Site-installed conveniences and platform-only names are not language rules.
Structs§
Enums§
Constants§
- BUILTINS
- MEMBER_
PRESERVING_ CLASS_ DECORATORS - Class decorators whose admitted stdlib identity preserves existing members. This says nothing about members the decorator may add.
- NONE_
TYPE_ MEMBERS - None is a singleton with an immutable type. Attribute lookup inherits the object inventory and adds truth conversion; it cannot acquire new members. Sources: https://docs.python.org/3/reference/datamodel.html#none and https://github.com/python/cpython/blob/3.12/Objects/object.c (PyNone_Type).
- OBJECT_
MEMBERS - Complete for the audited version interval, including descriptors, not just methods.
Functions§
- builtin
- has_
fixed_ value_ class_ surface - Existing Python value-class policy shared by legacy and native member lookup. Their intrinsic dictionaries cannot acquire user-defined members; rebinding a name in the mutable builtins module is a separate operation.
- implicit_
base - The language rule is independent of the lexical binding named object.
- none_
type_ member - object_
member