Git bootcamp and cheat sheet - Python Developer's Guide
Aug 22, 2026 ... ... git config --global user.email your.email@example ... GitHub issues and pull requests. You can install GitHub CLI by following these instructions.
Aug 22, 2026 ... ... git config --global user.email your.email@example ... GitHub issues and pull requests. You can install GitHub CLI by following these instructions.
Toggle site navigation sidebar. Python Developer's Guide.If there are errors, update to a revision from when the patch was created and then try the git apply again: git checkout $(git rev-list -n 1 --before="yyyy-mm-dd hh:mm:ss" main) git apply /path/to/patch.diff.
Oct 20, 2026 · python.org maintenance Code of conduct ¶ Please note that all interactions on Python Software Foundation -supported infrastructure is covered by the PSF Code of Conduct, which includes all infrastructure used in the development of Python itself (for example, Discourse, issue trackers, GitHub, and so on).
Sep 18, 2026 ... Run make regen-sbom or python Tools/build/generate_sbom.py . Ensure that this doesn't fail with validation errors. Run git diff Misc/sbom.spdx.
Setting up your name and email address¶. $ git config --global user.name "Your Name" $ git config --global user.email [email protected]. The --global flag sets these parameters globally while the --local flag sets them only for the current project. Enabling autocrlf on Windows¶.
Oct 21, 2026 · Lifecycle of a pull request ¶ Introduction ¶ CPython uses a workflow based on pull requests. What this means is that you create a branch in Git, make your changes, push those changes to your fork on GitHub (origin), and then create a pull request against the official CPython repository (upstream). For a cheat-sheet reference, see the quick reference on creating pull requests. Step-by-step ...
Jul 15, 2026 · Once the backport pull request has been created, remove the needs backport to X.Y label from the original pull request. (Only the core team and members of the Python Triage Team can apply labels to GitHub pull requests). Does the pull request pass a check indicating that the submitter has signed the CLA?
Jul 28, 2026 ... There could be platform-specific code that simply will not execute for you, errors in the output, etc. You can use your judgement as to what ...
Based on historical data we found those not being used very often. How to find a random issue?¶ This is not supported by GitHub. Where are regression labels?¶ We rarely updated this information and it turned out not to be particularly useful outside of the change log.
Jul 4, 2026 · Using the issue tracker- Reporting an issue- Checking if a bug already exists, Creating a new issue., Working with issues- Searching issues, Formatting issues and comments, Attaching files, Adding ...
Feb 20, 2026 · The Developer’s Guide (what you’re reading now) uses the same process as the main Python documentation, except for some small differences. The source lives in a separate repository and bug reports should be submitted to the devguide GitHub tracker. Changes to the Developer’s Guide are published when pull requests are merged.