Setup and building - Python Developer's Guide
Oct 30, 2026 ... Install Git¶. CPython is developed using Git for version control. The Git command line program is named git ; this is also used to refer ...
Oct 30, 2026 ... Install Git¶. CPython is developed using Git for version control. The Git command line program is named git ; this is also used to refer ...
Aug 22, 2026 ... In this section, we will go over some commonly used Git commands that are relevant to CPython's workflow. Forking CPython GitHub repository: ...
GitHub CLI is a command-line interface that allows you to create, update, and check GitHub issues and pull requests. You can install GitHub CLI by following these instructions. After installing, you need to authenticate: $ gh auth login. Examples of useful commands
Install Dependencies. Compile and build. Regenerating auto-created files. Install Git. Using GitHub Codespaces.
Tests that need Python code (or are just easier to partially write in Python) live in Lib/test, mainly in Lib/test/test_capi.Create a C file named Modules/_testcapi/yourfeature.c. The file should define a module as usual, except: Instead of <Python.h>, include "parts.h".
This section contains details of workflows needed for all kinds of contribution. Install Git, Get the source code- Install pre-commit as a Git hook., Install Dependencies, Compile and build- UnixWhat is GitHub Codespaces? Create a CPython codespace. Use Codespaces locally.