René's URL Explorer Experiment


Title: Extending and Embedding the Python Interpreter — Python 3.14.2 documentation

Open Graph Title: Extending and Embedding the Python Interpreter

Description: This document describes how to write modules in C or C++ to extend the Python interpreter with new modules. Those modules can not only define new functions but also new object types and their metho...

Open Graph Description: This document describes how to write modules in C or C++ to extend the Python interpreter with new modules. Those modules can not only define new functions but also new object types and their metho...

Opengraph URL: https://docs.python.org/3/extending/index.html

direct link

Domain: docs.python.org

og:typewebsite
og:site_namePython documentation
og:image:width1146
og:image:height600
og:imagehttps://docs.python.org/3.14/_images/social_previews/summary_extending_index_cce66b56.png
og:image:altThis document describes how to write modules in C or C++ to extend the Python interpreter with new modules. Those modules can not only define new functions but also new object types and their metho...
twitter:cardsummary_large_image
theme-color#3776ab
readthedocs-addons-api-version1

Links:

https://www.python.org/
Table of Contentshttps://docs.python.org/contents.html
Extending and Embedding the Python Interpreterhttps://docs.python.org/extending/index.html
Recommended third party toolshttps://docs.python.org/extending/index.html#recommended-third-party-tools
Creating extensions without third party toolshttps://docs.python.org/extending/index.html#creating-extensions-without-third-party-tools
Embedding the CPython runtime in a larger applicationhttps://docs.python.org/extending/index.html#embedding-the-cpython-runtime-in-a-larger-application
Security Considerationshttps://docs.python.org/library/security_warnings.html
1. Extending Python with C or C++https://docs.python.org/extending/extending.html
Report a bughttps://docs.python.org/bugs.html
Show source https://github.com/python/cpython/blob/main/Doc/extending/index.rst?plain=1
indexhttps://docs.python.org/genindex.html
moduleshttps://docs.python.org/py-modindex.html
nexthttps://docs.python.org/extending/extending.html
previoushttps://docs.python.org/library/security_warnings.html
Pythonhttps://www.python.org/
3.14.2 Documentationhttps://docs.python.org/index.html
Extending and Embedding the Python Interpreterhttps://docs.python.org/extending/index.html
https://docs.python.org/extending/index.html#extending-and-embedding-the-python-interpreter
The Python Tutorialhttps://docs.python.org/tutorial/index.html#tutorial-index
The Python Language Referencehttps://docs.python.org/reference/index.html#reference-index
The Python Standard Libraryhttps://docs.python.org/library/index.html#library-index
Python/C API Reference Manualhttps://docs.python.org/c-api/index.html#c-api-index
https://docs.python.org/extending/index.html#recommended-third-party-tools
third party toolshttps://docs.python.org/c-api/intro.html#c-api-tools
https://docs.python.org/extending/index.html#creating-extensions-without-third-party-tools
PEP 489https://peps.python.org/pep-0489/
1. Extending Python with C or C++https://docs.python.org/extending/extending.html
1.1. A Simple Examplehttps://docs.python.org/extending/extending.html#a-simple-example
1.2. Intermezzo: Errors and Exceptionshttps://docs.python.org/extending/extending.html#intermezzo-errors-and-exceptions
1.3. Back to the Examplehttps://docs.python.org/extending/extending.html#back-to-the-example
1.4. The Module’s Method Table and Initialization Functionhttps://docs.python.org/extending/extending.html#the-module-s-method-table-and-initialization-function
1.5. Compilation and Linkagehttps://docs.python.org/extending/extending.html#compilation-and-linkage
1.6. Calling Python Functions from Chttps://docs.python.org/extending/extending.html#calling-python-functions-from-c
1.7. Extracting Parameters in Extension Functionshttps://docs.python.org/extending/extending.html#extracting-parameters-in-extension-functions
1.8. Keyword Parameters for Extension Functionshttps://docs.python.org/extending/extending.html#keyword-parameters-for-extension-functions
1.9. Building Arbitrary Valueshttps://docs.python.org/extending/extending.html#building-arbitrary-values
1.10. Reference Countshttps://docs.python.org/extending/extending.html#reference-counts
1.11. Writing Extensions in C++https://docs.python.org/extending/extending.html#writing-extensions-in-c
1.12. Providing a C API for an Extension Modulehttps://docs.python.org/extending/extending.html#providing-a-c-api-for-an-extension-module
2. Defining Extension Types: Tutorialhttps://docs.python.org/extending/newtypes_tutorial.html
2.1. The Basicshttps://docs.python.org/extending/newtypes_tutorial.html#the-basics
2.2. Adding data and methods to the Basic examplehttps://docs.python.org/extending/newtypes_tutorial.html#adding-data-and-methods-to-the-basic-example
2.3. Providing finer control over data attributeshttps://docs.python.org/extending/newtypes_tutorial.html#providing-finer-control-over-data-attributes
2.4. Supporting cyclic garbage collectionhttps://docs.python.org/extending/newtypes_tutorial.html#supporting-cyclic-garbage-collection
2.5. Subclassing other typeshttps://docs.python.org/extending/newtypes_tutorial.html#subclassing-other-types
3. Defining Extension Types: Assorted Topicshttps://docs.python.org/extending/newtypes.html
3.1. Finalization and De-allocationhttps://docs.python.org/extending/newtypes.html#finalization-and-de-allocation
3.2. Object Presentationhttps://docs.python.org/extending/newtypes.html#object-presentation
3.3. Attribute Managementhttps://docs.python.org/extending/newtypes.html#attribute-management
3.4. Object Comparisonhttps://docs.python.org/extending/newtypes.html#object-comparison
3.5. Abstract Protocol Supporthttps://docs.python.org/extending/newtypes.html#abstract-protocol-support
3.6. Weak Reference Supporthttps://docs.python.org/extending/newtypes.html#weak-reference-support
3.7. More Suggestionshttps://docs.python.org/extending/newtypes.html#more-suggestions
4. Building C and C++ Extensionshttps://docs.python.org/extending/building.html
4.1. Building C and C++ Extensions with setuptoolshttps://docs.python.org/extending/building.html#building-c-and-c-extensions-with-setuptools
5. Building C and C++ Extensions on Windowshttps://docs.python.org/extending/windows.html
5.1. A Cookbook Approachhttps://docs.python.org/extending/windows.html#a-cookbook-approach
5.2. Differences Between Unix and Windowshttps://docs.python.org/extending/windows.html#differences-between-unix-and-windows
5.3. Using DLLs in Practicehttps://docs.python.org/extending/windows.html#using-dlls-in-practice
https://docs.python.org/extending/index.html#embedding-the-cpython-runtime-in-a-larger-application
1. Embedding Python in Another Applicationhttps://docs.python.org/extending/embedding.html
1.1. Very High Level Embeddinghttps://docs.python.org/extending/embedding.html#very-high-level-embedding
1.2. Beyond Very High Level Embedding: An overviewhttps://docs.python.org/extending/embedding.html#beyond-very-high-level-embedding-an-overview
1.3. Pure Embeddinghttps://docs.python.org/extending/embedding.html#pure-embedding
1.4. Extending Embedded Pythonhttps://docs.python.org/extending/embedding.html#extending-embedded-python
1.5. Embedding Python in C++https://docs.python.org/extending/embedding.html#embedding-python-in-c
1.6. Compiling and Linking under Unix-like systemshttps://docs.python.org/extending/embedding.html#compiling-and-linking-under-unix-like-systems
Table of Contentshttps://docs.python.org/contents.html
Extending and Embedding the Python Interpreterhttps://docs.python.org/extending/index.html
Recommended third party toolshttps://docs.python.org/extending/index.html#recommended-third-party-tools
Creating extensions without third party toolshttps://docs.python.org/extending/index.html#creating-extensions-without-third-party-tools
Embedding the CPython runtime in a larger applicationhttps://docs.python.org/extending/index.html#embedding-the-cpython-runtime-in-a-larger-application
Security Considerationshttps://docs.python.org/library/security_warnings.html
1. Extending Python with C or C++https://docs.python.org/extending/extending.html
Report a bughttps://docs.python.org/bugs.html
Show source https://github.com/python/cpython/blob/main/Doc/extending/index.rst?plain=1
indexhttps://docs.python.org/genindex.html
moduleshttps://docs.python.org/py-modindex.html
nexthttps://docs.python.org/extending/extending.html
previoushttps://docs.python.org/library/security_warnings.html
Pythonhttps://www.python.org/
3.14.2 Documentationhttps://docs.python.org/index.html
Extending and Embedding the Python Interpreterhttps://docs.python.org/extending/index.html
Copyrighthttps://docs.python.org/copyright.html
History and Licensehttps://docs.python.org/license.html
Please donate.https://www.python.org/psf/donations/
Found a bughttps://docs.python.org/bugs.html
Sphinxhttps://www.sphinx-doc.org/

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.