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

index.md

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

1> **Источник:** https://python-all.ru/2.6/c-api/index.html2>3> «Документация Python на русском» – неофициальный перевод официальной документации Python: версии от 2.6 до 3.16, полнотекстовый поиск, английский оригинал рядом с переводом. Эта Markdown-версия страницы предназначена для работы с LLM: вставьте её в ChatGPT, Claude или Cursor.45---67# Справочное руководство по Python/C API89| Версия: | 2.6 |10| --- | --- |11| Дата: | 29 октября 2013 |1213В данном руководстве описано API для программистов на C и C++, которые хотят создавать модули расширения или встраивать Python. Оно является дополнением к [*Расширение и встраивание интерпретатора Python*](https://python-all.ru/2.6/extending/index.html#extending-index), в котором описаны общие принципы написания расширений, но нет подробной документации по функциям API.1415- [Введение](https://python-all.ru/2.6/c-api/intro.html)1617  - [Заголовочные файлы](https://python-all.ru/2.6/c-api/intro.html#include-files)18  - [Объекты, типы и счетчики ссылок](https://python-all.ru/2.6/c-api/intro.html#objects-types-and-reference-counts)19  - [Исключения](https://python-all.ru/2.6/c-api/intro.html#exceptions)20  - [Встраивание Python](https://python-all.ru/2.6/c-api/intro.html#embedding-python)21  - [Отладочные сборки](https://python-all.ru/2.6/c-api/intro.html#debugging-builds)22- [Очень высокоуровневый слой](https://python-all.ru/2.6/c-api/veryhigh.html)23- [Подсчёт ссылок](https://python-all.ru/2.6/c-api/refcounting.html)24- [Обработка исключений](https://python-all.ru/2.6/c-api/exceptions.html)2526  - [Управление рекурсией](https://python-all.ru/2.6/c-api/exceptions.html#recursion-control)27  - [Стандартные исключения](https://python-all.ru/2.6/c-api/exceptions.html#standard-exceptions)28  - [Устаревание исключений-строк](https://python-all.ru/2.6/c-api/exceptions.html#deprecation-of-string-exceptions)29- [Утилиты](https://python-all.ru/2.6/c-api/utilities.html)3031  - [Утилиты операционной системы](https://python-all.ru/2.6/c-api/sys.html)32  - [Системные функции](https://python-all.ru/2.6/c-api/sys.html#system-functions)33  - [Управление процессами](https://python-all.ru/2.6/c-api/sys.html#process-control)34  - [Импорт модулей](https://python-all.ru/2.6/c-api/import.html)35  - [Поддержка маршалинга данных](https://python-all.ru/2.6/c-api/marshal.html)36  - [Разбор аргументов и сборка значений](https://python-all.ru/2.6/c-api/arg.html)37  - [Преобразование и форматирование строк](https://python-all.ru/2.6/c-api/conversion.html)38  - [Рефлексия](https://python-all.ru/2.6/c-api/reflection.html)39- [Слой абстрактных объектов](https://python-all.ru/2.6/c-api/abstract.html)4041  - [Протокол объекта](https://python-all.ru/2.6/c-api/object.html)42  - [Протокол чисел](https://python-all.ru/2.6/c-api/number.html)43  - [Протокол последовательностей](https://python-all.ru/2.6/c-api/sequence.html)44  - [Протокол отображений](https://python-all.ru/2.6/c-api/mapping.html)45  - [Протокол итератора](https://python-all.ru/2.6/c-api/iter.html)46  - [Старый буферный протокол](https://python-all.ru/2.6/c-api/objbuffer.html)47- [Слой конкретных объектов](https://python-all.ru/2.6/c-api/concrete.html)4849  - [Базовые объекты](https://python-all.ru/2.6/c-api/concrete.html#fundamental-objects)50  - [Числовые объекты](https://python-all.ru/2.6/c-api/concrete.html#numeric-objects)51  - [Объекты последовательностей](https://python-all.ru/2.6/c-api/concrete.html#sequence-objects)52  - [Объекты-отображения](https://python-all.ru/2.6/c-api/concrete.html#mapping-objects)53  - [Прочие объекты](https://python-all.ru/2.6/c-api/concrete.html#other-objects)54- [Инициализация, финализация и потоки](https://python-all.ru/2.6/c-api/init.html)5556  - [Состояние потока и глобальная блокировка интерпретатора](https://python-all.ru/2.6/c-api/init.html#thread-state-and-the-global-interpreter-lock)57  - [Профилирование и трассировка](https://python-all.ru/2.6/c-api/init.html#profiling-and-tracing)58  - [Расширенная поддержка отладчика](https://python-all.ru/2.6/c-api/init.html#advanced-debugger-support)59- [Управление памятью](https://python-all.ru/2.6/c-api/memory.html)6061  - [Обзор](https://python-all.ru/2.6/c-api/memory.html#overview)62  - [Интерфейс памяти](https://python-all.ru/2.6/c-api/memory.html#memory-interface)63  - [Примеры](https://python-all.ru/2.6/c-api/memory.html#examples)64- [Поддержка реализации объектов](https://python-all.ru/2.6/c-api/objimpl.html)6566  - [Выделение объектов в куче](https://python-all.ru/2.6/c-api/allocation.html)67  - [Общие структуры объектов](https://python-all.ru/2.6/c-api/structures.html)68  - [Объекты типов](https://python-all.ru/2.6/c-api/typeobj.html)69  - [Структуры числовых объектов](https://python-all.ru/2.6/c-api/typeobj.html#number-object-structures)70  - [Структуры объектов отображений](https://python-all.ru/2.6/c-api/typeobj.html#mapping-object-structures)71  - [Структуры объектов последовательностей](https://python-all.ru/2.6/c-api/typeobj.html#sequence-object-structures)72  - [Структуры буферных объектов](https://python-all.ru/2.6/c-api/typeobj.html#buffer-object-structures)73  - [Поддержка циклической сборки мусора](https://python-all.ru/2.6/c-api/gcsupport.html)74