Standard library extension modules

devguide.python.org

Getting started | Quick reference | Setup and building | Fixing “easy” issues (and beyond) | Git bootcamp and cheat sheet | Lifecycle of a pull request | Where to get help | Guidelines for using AI tools | Development workflow | Following Python’s development | Changing Python | Development cycle | Adding to the stdlib | Changing Python’s C API | Changing CPython’s grammar | Porting and platform support | Issues and triaging | Using the issue tracker | Triaging an issue | GitHub labels | Triage Team | Documentation | Getting started | Helping with documentation | Style guide | reStructuredText markup | Translations | Helping with the Developer’s Guide

Tin mới

https://pythonextensionpatterns.readthedocs.io/en/latest/

In this section, we explain how to configure and compile the CPython project with a C extension module. We will not explain how to write a C extension module and prefer to give you some links where you can read good docu

https://docs.python.org/dev/c-api/

https://docs.python.org/dev/extending/

https://pythonextensionpatterns.readthedocs.io/en/latest/

sys.builtin_module_names

A built-in extension module is a module built and shipped with the Python interpreter. A built-in module is statically linked into the interpreter, thereby lacking a __file__ attribute.

PCbuild/pythoncore.vcxproj

PCbuild/pythoncore.vcxproj.filters

Update PCbuild/pythoncore.vcxproj.filters:

Tools/build/regen-configure.sh

make regen-configure updates the configure script.

1 1