René's URL Explorer Experiment


Title: Defining Extension Types: Assorted Topics — Python 3.15.0a5 documentation

Open Graph Title: Defining Extension Types: Assorted Topics

Description: This section aims to give a quick fly-by on the various type methods you can implement and what they do. Here is the definition of PyTypeObject, with some fields only used in debug builds omitted: ...

Open Graph Description: This section aims to give a quick fly-by on the various type methods you can implement and what they do. Here is the definition of PyTypeObject, with some fields only used in debug builds omitted: ...

Opengraph URL: https://docs.python.org/3/extending/newtypes.html

direct link

Domain: docs.python.org

og:typewebsite
og:site_namePython documentation
og:image:width1146
og:image:height600
og:imagehttps://docs.python.org/3.15/_images/social_previews/summary_extending_newtypes_c1ffff10.png
og:image:altThis section aims to give a quick fly-by on the various type methods you can implement and what they do. Here is the definition of PyTypeObject, with some fields only used in debug builds omitted: ...
twitter:cardsummary_large_image
theme-color#3776ab
readthedocs-addons-api-version1

Links:

https://www.python.org/
Table of Contentshttps://docs.python.org/dev/contents.html
Defining Extension Types: Assorted Topicshttps://docs.python.org/dev/extending/newtypes.html
Finalization and De-allocationhttps://docs.python.org/dev/extending/newtypes.html#finalization-and-de-allocation
Object Presentationhttps://docs.python.org/dev/extending/newtypes.html#object-presentation
Attribute Managementhttps://docs.python.org/dev/extending/newtypes.html#attribute-management
Generic Attribute Managementhttps://docs.python.org/dev/extending/newtypes.html#generic-attribute-management
Type-specific Attribute Managementhttps://docs.python.org/dev/extending/newtypes.html#type-specific-attribute-management
Object Comparisonhttps://docs.python.org/dev/extending/newtypes.html#object-comparison
Abstract Protocol Supporthttps://docs.python.org/dev/extending/newtypes.html#abstract-protocol-support
Weak Reference Supporthttps://docs.python.org/dev/extending/newtypes.html#weak-reference-support
More Suggestionshttps://docs.python.org/dev/extending/newtypes.html#more-suggestions
Defining Extension Types: Tutorialhttps://docs.python.org/dev/extending/newtypes_tutorial.html
Building C and C++ Extensionshttps://docs.python.org/dev/extending/building.html
Report a bughttps://docs.python.org/dev/bugs.html
Show source https://github.com/python/cpython/blob/main/Doc/extending/newtypes.rst?plain=1
indexhttps://docs.python.org/dev/genindex.html
moduleshttps://docs.python.org/dev/py-modindex.html
nexthttps://docs.python.org/dev/extending/building.html
previoushttps://docs.python.org/dev/extending/newtypes_tutorial.html
Pythonhttps://www.python.org/
3.15.0a5 Documentationhttps://docs.python.org/dev/index.html
Extending and Embedding the Python Interpreterhttps://docs.python.org/dev/extending/index.html
Defining Extension Types: Assorted Topicshttps://docs.python.org/dev/extending/newtypes.html
https://docs.python.org/dev/extending/newtypes.html#defining-extension-types-assorted-topics
PyTypeObjecthttps://docs.python.org/dev/c-api/type.html#c.PyTypeObject
debug buildshttps://docs.python.org/dev/using/configure.html#debug-build
tp_itemsizehttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_itemsize
https://docs.python.org/dev/extending/newtypes.html#finalization-and-de-allocation
PyObject_GC_UnTrack()https://docs.python.org/dev/c-api/gcsupport.html#c.PyObject_GC_UnTrack
PyErr_Fetch()https://docs.python.org/dev/c-api/exceptions.html#c.PyErr_Fetch
PyErr_Restore()https://docs.python.org/dev/c-api/exceptions.html#c.PyErr_Restore
tp_traversehttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_traverse
tp_clearhttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_clear
tp_deallochttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_dealloc
tp_deallochttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_dealloc
tp_deallochttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_dealloc
tp_deallochttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_dealloc
tp_finalizehttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_finalize
PEP 442https://peps.python.org/pep-0442/
https://docs.python.org/dev/extending/newtypes.html#object-presentation
repr()https://docs.python.org/dev/library/functions.html#repr
str()https://docs.python.org/dev/library/stdtypes.html#str
print()https://docs.python.org/dev/library/functions.html#print
str()https://docs.python.org/dev/library/stdtypes.html#str
tp_reprhttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_repr
tp_reprhttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_repr
tp_namehttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_name
tp_strhttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_str
str()https://docs.python.org/dev/library/stdtypes.html#str
tp_reprhttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_repr
repr()https://docs.python.org/dev/library/functions.html#repr
str()https://docs.python.org/dev/library/stdtypes.html#str
tp_reprhttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_repr
tp_strhttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_str
tp_reprhttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_repr
https://docs.python.org/dev/extending/newtypes.html#attribute-management
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
https://docs.python.org/dev/extending/newtypes.html#generic-attribute-management
PyType_Ready()https://docs.python.org/dev/c-api/type.html#c.PyType_Ready
PyType_Ready()https://docs.python.org/dev/c-api/type.html#c.PyType_Ready
descriptorhttps://docs.python.org/dev/glossary.html#term-descriptor
tp_getattrohttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_getattro
tp_setattrohttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_setattro
tp_methodshttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_methods
PyMethodDefhttps://docs.python.org/dev/c-api/structures.html#c.PyMethodDef
ml_namehttps://docs.python.org/dev/c-api/structures.html#c.PyMethodDef.ml_name
descriptorhttps://docs.python.org/dev/glossary.html#term-descriptor
typehttps://docs.python.org/dev/c-api/structures.html#c.PyMemberDef.type
Py_T_INThttps://docs.python.org/dev/c-api/structures.html#c.Py_T_INT
Py_T_DOUBLEhttps://docs.python.org/dev/c-api/structures.html#c.Py_T_DOUBLE
flagshttps://docs.python.org/dev/c-api/structures.html#c.PyMemberDef.flags
Py_READONLYhttps://docs.python.org/dev/c-api/structures.html#c.Py_READONLY
tp_membershttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_members
__doc__https://docs.python.org/dev/reference/datamodel.html#type.__doc__
tp_methodshttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_methods
ml_namehttps://docs.python.org/dev/c-api/structures.html#c.PyMethodDef.ml_name
https://docs.python.org/dev/extending/newtypes.html#type-specific-attribute-management
PyObjecthttps://docs.python.org/dev/c-api/structures.html#c.PyObject
tp_getattrhttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_getattr
__getattr__()https://docs.python.org/dev/reference/datamodel.html#object.__getattr__
tp_setattrhttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_setattr
__setattr__()https://docs.python.org/dev/reference/datamodel.html#object.__setattr__
__delattr__()https://docs.python.org/dev/reference/datamodel.html#object.__delattr__
tp_setattrhttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_setattr
https://docs.python.org/dev/extending/newtypes.html#object-comparison
tp_richcomparehttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_richcompare
rich comparison methodshttps://docs.python.org/dev/reference/datamodel.html#richcmpfuncs
PyObject_RichCompare()https://docs.python.org/dev/c-api/object.html#c.PyObject_RichCompare
PyObject_RichCompareBool()https://docs.python.org/dev/c-api/object.html#c.PyObject_RichCompareBool
https://docs.python.org/dev/extending/newtypes.html#abstract-protocol-support
Abstract Objects Layerhttps://docs.python.org/dev/c-api/abstract.html#abstract
PyNumberMethodshttps://docs.python.org/dev/c-api/typeobj.html#c.PyNumberMethods
PySequenceMethodshttps://docs.python.org/dev/c-api/typeobj.html#c.PySequenceMethods
PyMappingMethodshttps://docs.python.org/dev/c-api/typeobj.html#c.PyMappingMethods
Py_hash_thttps://docs.python.org/dev/c-api/hash.html#c.Py_hash_t
tp_hashhttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_hash
tp_callhttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_call
PyArg_ParseTuple()https://docs.python.org/dev/c-api/arg.html#c.PyArg_ParseTuple
PyArg_ParseTupleAndKeywords()https://docs.python.org/dev/c-api/arg.html#c.PyArg_ParseTupleAndKeywords
TypeErrorhttps://docs.python.org/dev/library/exceptions.html#TypeError
tp_iterhttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_iter
__iter__()https://docs.python.org/dev/reference/datamodel.html#object.__iter__
tp_iternexthttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_iternext
__next__()https://docs.python.org/dev/library/stdtypes.html#iterator.__next__
iterablehttps://docs.python.org/dev/glossary.html#term-iterable
tp_iterhttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_iter
iteratorhttps://docs.python.org/dev/glossary.html#term-iterator
tp_iterhttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_iter
tp_iterhttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_iter
tp_iternexthttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_iternext
iteratorhttps://docs.python.org/dev/glossary.html#term-iterator
tp_iterhttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_iter
tp_iternexthttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_iternext
tp_iterhttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_iter
tp_iternexthttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_iternext
tp_iternexthttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_iternext
StopIterationhttps://docs.python.org/dev/library/exceptions.html#StopIteration
tp_iternexthttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_iternext
https://docs.python.org/dev/extending/newtypes.html#weak-reference-support
weakrefhttps://docs.python.org/dev/library/weakref.html#module-weakref
tp_flagshttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_flags
tp_weaklistoffsethttps://docs.python.org/dev/c-api/typeobj.html#c.PyTypeObject.tp_weaklistoffset
Py_TPFLAGS_HAVE_GChttps://docs.python.org/dev/c-api/typeobj.html#c.Py_TPFLAGS_HAVE_GC
PyObject_ClearWeakRefs()https://docs.python.org/dev/c-api/weakref.html#c.PyObject_ClearWeakRefs
https://docs.python.org/dev/extending/newtypes.html#more-suggestions
CPythonhttps://docs.python.org/dev/glossary.html#term-CPython
PyObject_TypeCheck()https://docs.python.org/dev/c-api/object.html#c.PyObject_TypeCheck
https://www.python.org/downloads/source/https://www.python.org/downloads/source/
https://github.com/python/cpythonhttps://github.com/python/cpython
Table of Contentshttps://docs.python.org/dev/contents.html
Defining Extension Types: Assorted Topicshttps://docs.python.org/dev/extending/newtypes.html
Finalization and De-allocationhttps://docs.python.org/dev/extending/newtypes.html#finalization-and-de-allocation
Object Presentationhttps://docs.python.org/dev/extending/newtypes.html#object-presentation
Attribute Managementhttps://docs.python.org/dev/extending/newtypes.html#attribute-management
Generic Attribute Managementhttps://docs.python.org/dev/extending/newtypes.html#generic-attribute-management
Type-specific Attribute Managementhttps://docs.python.org/dev/extending/newtypes.html#type-specific-attribute-management
Object Comparisonhttps://docs.python.org/dev/extending/newtypes.html#object-comparison
Abstract Protocol Supporthttps://docs.python.org/dev/extending/newtypes.html#abstract-protocol-support
Weak Reference Supporthttps://docs.python.org/dev/extending/newtypes.html#weak-reference-support
More Suggestionshttps://docs.python.org/dev/extending/newtypes.html#more-suggestions
Defining Extension Types: Tutorialhttps://docs.python.org/dev/extending/newtypes_tutorial.html
Building C and C++ Extensionshttps://docs.python.org/dev/extending/building.html
Report a bughttps://docs.python.org/dev/bugs.html
Show source https://github.com/python/cpython/blob/main/Doc/extending/newtypes.rst?plain=1
indexhttps://docs.python.org/dev/genindex.html
moduleshttps://docs.python.org/dev/py-modindex.html
nexthttps://docs.python.org/dev/extending/building.html
previoushttps://docs.python.org/dev/extending/newtypes_tutorial.html
Pythonhttps://www.python.org/
3.15.0a5 Documentationhttps://docs.python.org/dev/index.html
Extending and Embedding the Python Interpreterhttps://docs.python.org/dev/extending/index.html
Defining Extension Types: Assorted Topicshttps://docs.python.org/dev/extending/newtypes.html
Copyrighthttps://docs.python.org/dev/copyright.html
History and Licensehttps://docs.python.org/license.html
Please donate.https://www.python.org/psf/donations/
Found a bughttps://docs.python.org/bugs.html
Sphinxhttps://www.sphinx-doc.org/

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.