]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-148981: Add color parameter to `ast.dump` (#148982)
authorStan Ulbrych <stan@python.org>
Sun, 26 Apr 2026 09:15:54 +0000 (10:15 +0100)
committerGitHub <noreply@github.com>
Sun, 26 Apr 2026 09:15:54 +0000 (10:15 +0100)
commit6d4ca16f47586533c9223fe5729f6b7e221fa9f9
tree0d958e95ad13c844866abc3ae8f4cbb37520a51b
parent0a39730ecd45430e14cfeb244980b6eaa3571695
gh-148981: Add color parameter to `ast.dump` (#148982)

And turn on color for the `ast` module CLI.
Doc/library/ast.rst
Doc/whatsnew/3.15.rst
Lib/_colorize.py
Lib/ast.py
Lib/test/test_ast/test_ast.py
Misc/NEWS.d/next/Library/2026-04-25-12-50-46.gh-issue-148981.YMM4Y9.rst [new file with mode: 0644]