Документация Python неофициальный перевод

objimpl.md

47 строк · 4.2 КБ · обычная страница · сырой текст · скачать

1> **Источник:** https://python-all.ru/3.13/c-api/objimpl.html2>3> «Документация Python на русском» – неофициальный перевод официальной документации Python: версии от 2.6 до 3.16, полнотекстовый поиск, английский оригинал рядом с переводом. Эта Markdown-версия страницы предназначена для работы с LLM: вставьте её в ChatGPT, Claude или Cursor.45---67# Поддержка реализации объектов89В этой главе описываются функции, типы и макросы, используемые при определении новых типов объектов.1011- [Выделение объектов в куче](https://python-all.ru/3.13/c-api/allocation.html)1213  - [Мягко устаревшие псевдонимы](https://python-all.ru/3.13/c-api/allocation.html#soft-deprecated-aliases)14- [Общие структуры объектов](https://python-all.ru/3.13/c-api/structures.html)1516  - [Базовые типы объектов и макросы](https://python-all.ru/3.13/c-api/structures.html#base-object-types-and-macros)17  - [Реализация функций и методов](https://python-all.ru/3.13/c-api/structures.html#implementing-functions-and-methods)18  - [Доступ к атрибутам типов-расширений](https://python-all.ru/3.13/c-api/structures.html#accessing-attributes-of-extension-types)1920    - [Флаги членов](https://python-all.ru/3.13/c-api/structures.html#member-flags)21    - [Типы членов](https://python-all.ru/3.13/c-api/structures.html#member-types)22    - [Определение геттеров и сеттеров](https://python-all.ru/3.13/c-api/structures.html#defining-getters-and-setters)23- [Структуры объектов типов](https://python-all.ru/3.13/c-api/typeobj.html)2425  - [Краткий справочник](https://python-all.ru/3.13/c-api/typeobj.html#quick-reference)2627    - [“tp slots”](https://python-all.ru/3.13/c-api/typeobj.html#tp-slots)28    - [под-слоты](https://python-all.ru/3.13/c-api/typeobj.html#sub-slots)29    - [typedefs слотов](https://python-all.ru/3.13/c-api/typeobj.html#slot-typedefs)30  - [Определение PyTypeObject](https://python-all.ru/3.13/c-api/typeobj.html#pytypeobject-definition)31  - [Слоты PyObject](https://python-all.ru/3.13/c-api/typeobj.html#pyobject-slots)32  - [Слоты PyVarObject](https://python-all.ru/3.13/c-api/typeobj.html#pyvarobject-slots)33  - [Слоты PyTypeObject](https://python-all.ru/3.13/c-api/typeobj.html#pytypeobject-slots)34  - [Статические типы](https://python-all.ru/3.13/c-api/typeobj.html#static-types)35  - [Типы в куче](https://python-all.ru/3.13/c-api/typeobj.html#heap-types)36  - [Структуры числовых объектов](https://python-all.ru/3.13/c-api/typeobj.html#number-object-structures)37  - [Структуры объектов отображений](https://python-all.ru/3.13/c-api/typeobj.html#mapping-object-structures)38  - [Структуры объектов последовательностей](https://python-all.ru/3.13/c-api/typeobj.html#sequence-object-structures)39  - [Структуры буферных объектов](https://python-all.ru/3.13/c-api/typeobj.html#buffer-object-structures)40  - [Структуры асинхронных объектов](https://python-all.ru/3.13/c-api/typeobj.html#async-object-structures)41  - [typedefs типов слотов](https://python-all.ru/3.13/c-api/typeobj.html#slot-type-typedefs)42  - [Примеры](https://python-all.ru/3.13/c-api/typeobj.html#examples)43- [Поддержка циклической сборки мусора](https://python-all.ru/3.13/c-api/gcsupport.html)4445  - [Управление состоянием сборщика мусора](https://python-all.ru/3.13/c-api/gcsupport.html#controlling-the-garbage-collector-state)46  - [Запрос состояния сборщика мусора](https://python-all.ru/3.13/c-api/gcsupport.html#querying-garbage-collector-state)47