Python logo

Предыдущий раздел

Memory Management

Следующий раздел

Allocating objects on the heap

This page

  • Report a bug
  • Improve this page
  • Show source
  • Show translation source

Навигация

  • указатель
  • модули |
  • вперёд |
  • назад |
  • Python logo
  • Python »
  • 3.14.7 Documentation »
  • Python/C API reference manual »
  • Object Implementation Support
  • |
  • |

Object Implementation Support¶

This chapter describes the functions, types, and macros used when defining new object types.

  • Allocating objects on the heap
    • Soft-deprecated aliases
  • Object Life Cycle
    • Life Events
    • Cyclic Isolate Destruction
    • Functions
  • Common Object Structures
    • Base object types and macros
    • Implementing functions and methods
    • Accessing attributes of extension types
      • Member flags
      • Member types
      • Defining Getters and Setters
  • Type Object Structures
    • Quick Reference
      • «tp slots»
      • sub-slots
      • slot typedefs
    • PyTypeObject Definition
    • PyObject Slots
    • PyVarObject Slots
    • PyTypeObject Slots
    • Static Types
    • Heap Types
    • Number Object Structures
    • Mapping Object Structures
    • Sequence Object Structures
    • Buffer Object Structures
    • Async Object Structures
    • Slot Type typedefs
    • Examples
  • Supporting Cyclic Garbage Collection
    • Controlling the Garbage Collector State
    • Querying Garbage Collector State

Предыдущий раздел

Memory Management

Следующий раздел

Allocating objects on the heap

This page

  • Report a bug
  • Improve this page
  • Show source
  • Show translation source
«

Навигация

  • указатель
  • модули |
  • вперёд |
  • назад |
  • Python logo
  • Python »
  • 3.14.7 Documentation »
  • Python/C API reference manual »
  • Object Implementation Support
  • |
  • |
© Авторское право 2001 Python Software Foundation.
Эта страница лицензирована в соответствии с лицензией Python Software Foundation версии 2.
Примеры, рецепты и другой код в документации дополнительно лицензируются по лицензии Zero Clause BSD.
Подробнее см. в разделе История и лицензия.

Python Software Foundation — некоммерческая организация. Пожалуйста, сделайте пожертвование.

Последнее обновление авг. 22, 2026 (09:02 UTC). Нашли ошибку?
Создано с помощью Sphinx 8.2.3.