| CARVIEW |
Select Language
HTTP/2 200
server: nginx
content-type: text/html
last-modified: Tue, 30 Dec 2025 06:26:47 GMT
etag: "695370a7-6b6e"
x-clacks-overhead: GNU Terry Pratchett
strict-transport-security: max-age=315360000; includeSubDomains; preload
content-encoding: gzip
via: 1.1 varnish, 1.1 varnish
accept-ranges: bytes
age: 1953
date: Tue, 30 Dec 2025 13:53:12 GMT
x-served-by: cache-lga21944-LGA, cache-bom-vanm7210030-BOM
x-cache: HIT, HIT
x-cache-hits: 7, 0
x-timer: S1767102792.220776,VS0,VE1
vary: Accept-Encoding
content-length: 5388
Python/C API Reference Manual — Python 3.14.2 documentation
Navigation
- index
- modules |
- next |
- previous |
- Python »
- 3.14.2 Documentation »
- Python/C API Reference Manual
-
|
- |
Python/C API Reference Manual¶
This manual documents the API used by C and C++ programmers who want to write extension modules or embed Python. It is a companion to Extending and Embedding the Python Interpreter, which describes the general principles of extension writing but does not document the API functions in detail.
- Introduction
- C API Stability
- The Very High Level Layer
- Reference Counting
- Exception Handling
- Defining extension modules
- Utilities
- Operating System Utilities
- System Functions
- Process Control
- Importing Modules
- Data marshalling support
- Parsing arguments and building values
- String conversion and formatting
- Character classification and conversion
- PyHash API
- Reflection
- Codec registry and support functions
- PyTime C API
- Support for Perf Maps
- Abstract Objects Layer
- Concrete Objects Layer
- Initialization, Finalization, and Threads
- Before Python Initialization
- Global configuration variables
- Initializing and finalizing the interpreter
- Process-wide parameters
- Thread State and the Global Interpreter Lock
- Sub-interpreter support
- Asynchronous Notifications
- Profiling and Tracing
- Reference tracing
- Advanced Debugger Support
- Thread Local Storage Support
- Synchronization Primitives
- Operating System Thread APIs
- Python Initialization Configuration
- Memory Management
- Object Implementation Support
- API and ABI Versioning
- Monitoring C API
- Generating Execution Events
Previous topic
Next topic
This page
«
Navigation
- index
- modules |
- next |
- previous |
- Python »
- 3.14.2 Documentation »
- Python/C API Reference Manual
-
|
- |
© Copyright 2001 Python Software Foundation.
This page is licensed under the Python Software Foundation License Version 2.
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
See History and License for more information.
The Python Software Foundation is a non-profit corporation. Please donate.
Last updated on Dec 30, 2025 (06:25 UTC). Found a bug?
Created using Sphinx 9.0.4.
This page is licensed under the Python Software Foundation License Version 2.
Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
See History and License for more information.
The Python Software Foundation is a non-profit corporation. Please donate.
Last updated on Dec 30, 2025 (06:25 UTC). Found a bug?
Created using Sphinx 9.0.4.