FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-159661: Remove incorrect traceback colorization documentation by pablogsal · Pull Request #159668 · python/cpython · GitHub

Repository navigation

gh-159661: Remove incorrect traceback colorization documentation - #159668

Merged
pablogsal merged 1 commit into
python:mainfrom
pablogsal:gh-159661-traceback-docs
Oct 18, 2026
Merged

pablogsal merged 1 commit into
python:mainfrom
pablogsal:gh-159661-traceback-docs

Conversation

pablogsal commented Oct 18, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

The traceback documentation incorrectly says that its output is colorized by default. The public APIs default to uncolored output; the interpreter enables color through an internal helper.

Remove the incorrect version note. The interpreter's color controls remain documented in the command-line reference.

Fixes #159661.

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #35221835 | 📁 Comparing 019a508 against main (6af6553)

  🔍 Preview build  

1 file changed
± library/traceback.html

pablogsal merged commit b00a140 into python:main Oct 18, 2026
40 checks passed
pablogsal deleted the gh-159661-traceback-docs branch October 18, 2026 11:39

Copy link
Copy Markdown

Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15.
🐍🍒⛏🤖

github-project-automation Bot moved this from Todo to Done in Docs PRs Oct 18, 2026

bedevere-app Bot commented Oct 18, 2026

Copy link
Copy Markdown

GH-159670 is a backport of this pull request to the 3.15 branch.

bedevere-app Bot removed the needs backport to 3.15 bugs and security fixes label Oct 18, 2026

bedevere-app Bot commented Oct 18, 2026

Copy link
Copy Markdown

GH-159671 is a backport of this pull request to the 3.14 branch.

bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Oct 18, 2026
pablogsal added a commit that referenced this pull request Oct 18, 2026
…on (GH-159668) (#159670)

gh-159661: Remove incorrect traceback colorization documentation (GH-159668)
(cherry picked from commit b00a140)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
pablogsal added a commit that referenced this pull request Oct 18, 2026
…on (GH-159668) (#159671)

gh-159661: Remove incorrect traceback colorization documentation (GH-159668)
(cherry picked from commit b00a140)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

The traceback module does not colorize by default, contrary to its documentation

1 participant


Back | FazBrowse Home | New Git URL