Python/C API Reference Manual¶
ਇਹ ਦਸਤਾਵੇਜ਼ ਉਹ API ਵਰਣਨ ਕਰਦਾ ਹੈ ਜਿਸਦੀ ਵਰਤੋਂ C ਅਤੇ C++ ਪ੍ਰੋਗਰਾਮਰ ਐਕਸਟੈਂਸ਼ਨ ਮੋਡੀਊਲ ਲਿਖਣ ਜਾਂ Python ਨੂੰ ਐਂਬੈਡ ਕਰਨ ਲਈ ਕਰਦੇ ਹਨ। ਇਹ Extending and Embedding the Python Interpreter ਦਾ ਪੂਰਕ ਹੈ, ਜੋ ਐਕਸਟੈਂਸ਼ਨ ਲਿਖਣ ਦੇ ਆਮ ਸਿਧਾਂਤਾਂ ਦਾ ਵਰਣਨ ਕਰਦਾ ਹੈ, ਪਰ API ਫੰਕਸ਼ਨਾਂ ਦਾ ਵਿਸਥਾਰ ਨਾਲ ਦਸਤਾਵੇਜ਼ੀਕਰਨ ਨਹੀਂ ਕਰਦਾ।
- ਜਾਣ-ਪਛਾਣ
- C API Stability
- The Very High Level Layer
- Reference Counting
- Exception Handling
- ਉਪਯੋਗਿਤਾਵਾਂ
- Operating System Utilities
- System Functions
- Process Control
- ਮੋਡੀਊਲਾਂ ਨੂੰ ਇੰਪੋਰਟ ਕਰਨਾ
- 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
- ਐਬਸਟ੍ਰੈਕਟ ਆਬਜੈਕਟ ਲੇਅਰ
- ਠੋਸ ਆਬਜੈਕਟ ਲੇਅਰ
- 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
- ਆਬਜੈਕਟ ਲਾਗੂਕਰਨ ਸਮਰਥਨ
- API and ABI Versioning
- Monitoring C API
- Generating Execution Events