Python/C API ਹਵਾਲਾ ਦਸਤਾਵੇਜ਼¶
ਇਹ ਦਸਤਾਵੇਜ਼ ਉਹ API ਵਰਣਨ ਕਰਦਾ ਹੈ ਜਿਸਦੀ ਵਰਤੋਂ C ਅਤੇ C++ ਪ੍ਰੋਗਰਾਮਰ ਐਕਸਟੈਂਸ਼ਨ ਮੋਡੀਊਲ ਲਿਖਣ ਜਾਂ Python ਨੂੰ ਐਂਬੈਡ ਕਰਨ ਲਈ ਕਰਦੇ ਹਨ। ਇਹ Extending and Embedding the Python Interpreter ਦਾ ਪੂਰਕ ਹੈ, ਜੋ ਐਕਸਟੈਂਸ਼ਨ ਲਿਖਣ ਦੇ ਆਮ ਸਿਧਾਂਤਾਂ ਦਾ ਵਰਣਨ ਕਰਦਾ ਹੈ, ਪਰ API ਫੰਕਸ਼ਨਾਂ ਦਾ ਵਿਸਥਾਰ ਨਾਲ ਦਸਤਾਵੇਜ਼ੀਕਰਨ ਨਹੀਂ ਕਰਦਾ।
- ਜਾਣ-ਪਛਾਣ
- C API and ABI Stability
- The Very High Level Layer
- Reference Counting
- Exception Handling
- Defining extension modules
- Definition slots
- ਉਪਯੋਗਿਤਾਵਾਂ
- 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
- Expat C API
- ਐਬਸਟ੍ਰੈਕਟ ਆਬਜੈਕਟ ਲੇਅਰ
- ਠੋਸ ਆਬਜੈਕਟ ਲੇਅਰ
- Interpreter initialization and finalization
- Thread states and the global interpreter lock
- Asynchronous notifications
- Operating system thread APIs
- Synchronization primitives
- Thread-local storage support
- Multiple interpreters in a Python process
- Profiling and tracing
- Reference tracing
- Performance statistics
- Python Initialization Configuration
- Memory Management
- ਆਬਜੈਕਟ ਲਾਗੂਕਰਨ ਸਮਰਥਨ
- API and ABI Versioning
- Monitoring C API
- Generating Execution Events