René's URL Explorer Experiment


Title: gh-145217: Add colour to `pprint` output by hugovk · Pull Request #145218 · python/cpython · GitHub

Open Graph Title: gh-145217: Add colour to `pprint` output by hugovk · Pull Request #145218 · python/cpython

X Title: gh-145217: Add colour to `pprint` output by hugovk · Pull Request #145218 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Example: import pprint data = ["spam", "eggs", ("lumberjack", "knights"), "ni", 42, None] data.insert(0, data) pprint.pp(data) pprint.pprint(data...

X Description: Example: import pprint data = ["spam", "eggs", ("lumberjack", "knights"), "ni", 42, None] data.insert(0, d...

Opengraph URL: https://github.com/python/cpython/pull/145218

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:5ec927a4-77bc-f5b1-c767-64516e90a067
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idECBC:2B78D3:1BDFF52:25AFBEC:6A5369B4
html-safe-nonce955c66c56ff1f50f61c2d1e23afa008b20f16497df32561e5abe3d1a18cdb21e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0JDOjJCNzhEMzoxQkRGRjUyOjI1QUZCRUM6NkE1MzY5QjQiLCJ2aXNpdG9yX2lkIjoiMzI1NDYxMzA2Nzc3OTIzODMyNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac214c162634914a3e30de7c60d7dc526339bd5d92bfa6b89f27340eb1ab6816dc
hovercard-subject-tagpull_request:3325997906
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/145218/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/eb123b345945c36804eca6b88a56a8f0886c076f833f41c8b14b6453bd9862fd/python/cpython/pull/145218
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/eb123b345945c36804eca6b88a56a8f0886c076f833f41c8b14b6453bd9862fd/python/cpython/pull/145218
og:image:altExample: import pprint data = ["spam", "eggs", ("lumberjack", "knights"), "ni", 42, None] data.insert(0, data) pprint.pp(data) pprint.pprint(data...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehugovk
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/145218#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F145218
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F145218
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/145218
Reloadhttps://github.com/python/cpython/pull/145218
Reloadhttps://github.com/python/cpython/pull/145218
Please reload this pagehttps://github.com/python/cpython/pull/145218
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/145218
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
hugovkhttps://github.com/hugovk
python:mainhttps://github.com/python/cpython/tree/main
hugovk:3.15-pprint-colourhttps://github.com/hugovk/cpython/tree/3.15-pprint-colour
Conversationhttps://github.com/python/cpython/pull/145218
Commits15 (15)https://github.com/python/cpython/pull/145218/commits
Checkshttps://github.com/python/cpython/pull/145218/checks
Files changedhttps://github.com/python/cpython/pull/145218/files
gh-145217: Add colour to pprint outputhttps://github.com/python/cpython/pull/145218#top
hugovkhttps://github.com/hugovk
python:mainhttps://github.com/python/cpython/tree/main
hugovk:3.15-pprint-colourhttps://github.com/hugovk/cpython/tree/3.15-pprint-colour
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Feb 25, 2026https://github.com/python/cpython/pull/145218#issue-3989766511
Please reload this pagehttps://github.com/python/cpython/pull/145218
https://private-user-images.githubusercontent.com/1324225/554797454-4782abc7-f7a3-499a-b193-dce76f451da7.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODM4NTE3NDQsIm5iZiI6MTc4Mzg1MTQ0NCwicGF0aCI6Ii8xMzI0MjI1LzU1NDc5NzQ1NC00NzgyYWJjNy1mN2EzLTQ5OWEtYjE5My1kY2U3NmY0NTFkYTcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDcxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA3MTJUMTAxNzI0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NGJkZGViZDQzODE3MmVlM2Q0ZDgyODk3MzlhYWNiMjU1MzU2MTI2ODA1NzliNzgwN2RjNjM0MjhjNGY2NzQ2NSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.ReyIXVbdu0Xve0utkr3k8JDAbhmjoEOSKmd6FUHTLeY
Add colour to pprint output #145217https://github.com/python/cpython/issues/145217
https://cpython-previews--145218.org.readthedocs.build/https://cpython-previews--145218.org.readthedocs.build/
Please reload this pagehttps://github.com/python/cpython/pull/145218
hugovkhttps://github.com/hugovk
February 25, 2026 16:07https://github.com/python/cpython/pull/145218#commits-pushed-0906a8d
https://github.com/hugovk
Add colour to pprint outputhttps://github.com/python/cpython/pull/145218/commits/0906a8d6d75b6cb05aa8cd25f888609cdd19a352
0906a8dhttps://github.com/python/cpython/pull/145218/commits/0906a8d6d75b6cb05aa8cd25f888609cdd19a352
https://github.com/hugovk
Add blurbhttps://github.com/python/cpython/pull/145218/commits/71739fe9e205535ea24618fe444135d86307621b
71739fehttps://github.com/python/cpython/pull/145218/commits/71739fe9e205535ea24618fe444135d86307621b
https://github.com/hugovk
hugovkhttps://github.com/hugovk
AA-Turnerhttps://github.com/AA-Turner
code ownerhttps://github.com/python/cpython/blob/9b22261a86b54f198225426e86390ef8dd85e091/.github/CODEOWNERS#L116
February 25, 2026 14:20https://github.com/python/cpython/pull/145218#event-23070105657
https://github.com/hugovk
hugovkhttps://github.com/hugovk
type-feature https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature
stdlib https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astdlib
Feb 25, 2026https://github.com/python/cpython/pull/145218#event-23070106140
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Feb 25, 2026https://github.com/python/cpython/pull/145218#event-23070107780
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Feb 25, 2026 https://github.com/python/cpython/pull/145218#ref-issue-3989758602
Add colour to pprint output #145217 https://github.com/python/cpython/issues/145217
https://github.com/StanFromIreland
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F145218
https://github.com/hugovk
Merge remote-tracking branch 'upstream/main' into 3.15-pprint-colourhttps://github.com/python/cpython/pull/145218/commits/1aac2602f290d9d8b26487f7720374efe60e4ee5
1aac260https://github.com/python/cpython/pull/145218/commits/1aac2602f290d9d8b26487f7720374efe60e4ee5
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Apr 9, 2026 https://github.com/python/cpython/pull/145218#pullrequestreview-4080947333
View reviewed changes https://github.com/python/cpython/pull/145218/files/1aac2602f290d9d8b26487f7720374efe60e4ee5
Lib/pprint.pyhttps://github.com/python/cpython/pull/145218/files/1aac2602f290d9d8b26487f7720374efe60e4ee5#diff-2de5df6eb7096f61fad8ce401b98985b3e0f1c0710f82120b52b94df45f753be
Please reload this pagehttps://github.com/python/cpython/pull/145218
https://github.com/StanFromIreland
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F145218
https://github.com/hugovk
Pass escape=False for pprint to keep real control charshttps://github.com/python/cpython/pull/145218/commits/e11465be1f26981907caa6656cf42a316b2d5e01
e11465bhttps://github.com/python/cpython/pull/145218/commits/e11465be1f26981907caa6656cf42a316b2d5e01
https://github.com/hugovk
hugovkhttps://github.com/hugovk
ambvhttps://github.com/ambv
lysnikolaouhttps://github.com/lysnikolaou
pablogsalhttps://github.com/pablogsal
code ownershttps://github.com/python/cpython/blob/d11e9ff8ca0e6fc5525a47eeb0e99637987bb385/.github/CODEOWNERS#L562
April 9, 2026 13:49https://github.com/python/cpython/pull/145218#event-24338128969
https://github.com/hugovk
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F145218
https://github.com/johnslavik
johnslavikhttps://github.com/johnslavik
April 10, 2026 10:13https://github.com/python/cpython/pull/145218#event-24376160391
https://github.com/hugovk
Merge branch 'main' into 3.15-pprint-colourhttps://github.com/python/cpython/pull/145218/commits/7208828ba164fe0aebad754da363bd429d2d7754
7208828https://github.com/python/cpython/pull/145218/commits/7208828ba164fe0aebad754da363bd429d2d7754
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Apr 18, 2026 https://github.com/python/cpython/pull/145218#pullrequestreview-4134974103
View reviewed changes https://github.com/python/cpython/pull/145218/files/7208828ba164fe0aebad754da363bd429d2d7754
Doc/whatsnew/3.15.rsthttps://github.com/python/cpython/pull/145218/files/7208828ba164fe0aebad754da363bd429d2d7754#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9
Please reload this pagehttps://github.com/python/cpython/pull/145218
https://github.com/hugovk
Change back line endings to LFhttps://github.com/python/cpython/pull/145218/commits/fede255c72a50b4fd8513ccdce5c5605f57068ad
fede255https://github.com/python/cpython/pull/145218/commits/fede255c72a50b4fd8513ccdce5c5605f57068ad
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Apr 18, 2026 https://github.com/python/cpython/pull/145218#ref-pullrequest-4289165074
Prevent GitHub's web conflict editor from converting LF to CRLF #148739 https://github.com/python/cpython/pull/148739
https://github.com/hugovk
Fall back to monochrome if _colorize/_pyrepl.utils don't reify (import)https://github.com/python/cpython/pull/145218/commits/3597fbd57ee72bb1b974a3ee1d57531ff0b67a54
3597fbdhttps://github.com/python/cpython/pull/145218/commits/3597fbd57ee72bb1b974a3ee1d57531ff0b67a54
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Apr 26, 2026 https://github.com/python/cpython/pull/145218#ref-issue-4331843381
Add colour to pickletools CLI output #149026 https://github.com/python/cpython/issues/149026
https://github.com/sunmy2019
sunmy2019https://github.com/sunmy2019
April 27, 2026 00:39https://github.com/python/cpython/pull/145218#event-24886930882
https://github.com/sunmy2019
sunmy2019https://github.com/sunmy2019
Apr 28, 2026 https://github.com/python/cpython/pull/145218#pullrequestreview-4188016509
View reviewed changes https://github.com/python/cpython/pull/145218/files/3597fbd57ee72bb1b974a3ee1d57531ff0b67a54
Lib/pprint.pyhttps://github.com/python/cpython/pull/145218/files/3597fbd57ee72bb1b974a3ee1d57531ff0b67a54#diff-2de5df6eb7096f61fad8ce401b98985b3e0f1c0710f82120b52b94df45f753be
sunmy2019https://github.com/sunmy2019
Apr 28, 2026https://github.com/python/cpython/pull/145218#discussion_r3153475087
Please reload this pagehttps://github.com/python/cpython/pull/145218
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/145218
hugovkhttps://github.com/hugovk
Apr 28, 2026https://github.com/python/cpython/pull/145218#discussion_r3153754743
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/145218
https://github.com/sunmy2019
sunmy2019https://github.com/sunmy2019
Apr 28, 2026 https://github.com/python/cpython/pull/145218#pullrequestreview-4188077286
View reviewed changes https://github.com/python/cpython/pull/145218/files/3597fbd57ee72bb1b974a3ee1d57531ff0b67a54
sunmy2019https://github.com/sunmy2019
Please reload this pagehttps://github.com/python/cpython/pull/145218
https://github.com/python/cpython/pull/145218#pullrequestreview-4188077286
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/145218
https://github.com/sunmy2019
sunmy2019https://github.com/sunmy2019
Apr 28, 2026 https://github.com/python/cpython/pull/145218#pullrequestreview-4188123634
View reviewed changes https://github.com/python/cpython/pull/145218/files/3597fbd57ee72bb1b974a3ee1d57531ff0b67a54
Misc/NEWS.d/next/Library/2026-02-25-16-19-21.gh-issue-145217.QQBY0-.rsthttps://github.com/python/cpython/pull/145218/files/3597fbd57ee72bb1b974a3ee1d57531ff0b67a54#diff-d8bc0ac6ab4fb37bc40ac73e0afefc71042c9ef4c321a907e24d54f6833b811d
Please reload this pagehttps://github.com/python/cpython/pull/145218
https://github.com/sunmy2019
sunmy2019https://github.com/sunmy2019
Apr 28, 2026 https://github.com/python/cpython/pull/145218#pullrequestreview-4188201360
View reviewed changes https://github.com/python/cpython/pull/145218/files/3597fbd57ee72bb1b974a3ee1d57531ff0b67a54
Lib/pprint.pyhttps://github.com/python/cpython/pull/145218/files/3597fbd57ee72bb1b974a3ee1d57531ff0b67a54#diff-2de5df6eb7096f61fad8ce401b98985b3e0f1c0710f82120b52b94df45f753be
Please reload this pagehttps://github.com/python/cpython/pull/145218
hugovkhttps://github.com/hugovk
April 28, 2026 14:46https://github.com/python/cpython/pull/145218#commits-pushed-0df1f64
https://github.com/hugovk
https://github.com/sunmy2019
Update NEWShttps://github.com/python/cpython/pull/145218/commits/0df1f64d2e245fba0cbb2deca07e08667015dbb2
0df1f64https://github.com/python/cpython/pull/145218/commits/0df1f64d2e245fba0cbb2deca07e08667015dbb2
https://github.com/hugovk
Avoid calling _format twicehttps://github.com/python/cpython/pull/145218/commits/c3392e6f94cac45d0325e3e4ee4e3934096ce76d
c3392e6https://github.com/python/cpython/pull/145218/commits/c3392e6f94cac45d0325e3e4ee4e3934096ce76d
https://github.com/hugovk
Add testhttps://github.com/python/cpython/pull/145218/commits/028ca36404d78aacca212469ab6b9d831b834bc4
028ca36https://github.com/python/cpython/pull/145218/commits/028ca36404d78aacca212469ab6b9d831b834bc4
https://github.com/sunmy2019
sunmy2019https://github.com/sunmy2019
Apr 28, 2026 https://github.com/python/cpython/pull/145218#pullrequestreview-4188798682
View reviewed changes https://github.com/python/cpython/pull/145218/files/028ca36404d78aacca212469ab6b9d831b834bc4
Lib/test/test_pprint.pyhttps://github.com/python/cpython/pull/145218/files/028ca36404d78aacca212469ab6b9d831b834bc4#diff-6e84f83d1d30b8ae8cf576771368b4e513f0d4237089d9007df49d8395240956
Please reload this pagehttps://github.com/python/cpython/pull/145218
https://github.com/sunmy2019
sunmy2019https://github.com/sunmy2019
Apr 28, 2026https://github.com/python/cpython/pull/145218#issuecomment-4335565085
https://private-user-images.githubusercontent.com/59365878/584829417-28d258e6-5a4c-47cd-be91-bc206a49b7b6.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODM4NTE3NDQsIm5iZiI6MTc4Mzg1MTQ0NCwicGF0aCI6Ii81OTM2NTg3OC81ODQ4Mjk0MTctMjhkMjU4ZTYtNWE0Yy00N2NkLWJlOTEtYmMyMDZhNDliN2I2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA3MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNzEyVDEwMTcyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZiODg5OWM1MmJmMGM1NGExYzVmYTJlY2YyZjA1NGNkYmIwMTk5ZTI0NTgyOTJiMTA1NDkwYmViZDc5NTZlNWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.2iFXi_6iz4z_ymVI16ERcj7lDutsTvRd1X4hEsuecgo
Please reload this pagehttps://github.com/python/cpython/pull/145218
https://github.com/hugovk
https://github.com/sunmy2019
Update testhttps://github.com/python/cpython/pull/145218/commits/fccaa120c05a19d0b2a3285b9ea0495fb9898334
fccaa12https://github.com/python/cpython/pull/145218/commits/fccaa120c05a19d0b2a3285b9ea0495fb9898334
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Apr 28, 2026https://github.com/python/cpython/pull/145218#issuecomment-4335854585
https://private-user-images.githubusercontent.com/1324225/584855880-fe660fa0-c599-43d0-ad94-e21037d3ffd9.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODM4NTE3NDQsIm5iZiI6MTc4Mzg1MTQ0NCwicGF0aCI6Ii8xMzI0MjI1LzU4NDg1NTg4MC1mZTY2MGZhMC1jNTk5LTQzZDAtYWQ5NC1lMjEwMzdkM2ZmZDkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDcxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA3MTJUMTAxNzI0WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWIwMWNlOGMwMTRhMWE3OTY3MWQwN2E4ZjBhNzE5NmQ1MTE2MmMxYzgzMmM0ODk5YTVlZWVlN2UxMzhkODM0MCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.NVajEIm5pc35H1Rq6PYgMvyUlCfKdYAQTkYEr8VMNkg
Please reload this pagehttps://github.com/python/cpython/pull/145218
hugovkhttps://github.com/hugovk
April 29, 2026 17:56https://github.com/python/cpython/pull/145218#commits-pushed-e95aab2
https://github.com/hugovk
Don't add colour if there's already colourhttps://github.com/python/cpython/pull/145218/commits/e95aab21d4bcacd1aa27fa8652749175a0fd70f5
e95aab2https://github.com/python/cpython/pull/145218/commits/e95aab21d4bcacd1aa27fa8652749175a0fd70f5
https://github.com/hugovk
Refactor other lazy imports with keywordhttps://github.com/python/cpython/pull/145218/commits/1d05505207b1a3e4debf6ac6685299c9ab227028
1d05505https://github.com/python/cpython/pull/145218/commits/1d05505207b1a3e4debf6ac6685299c9ab227028
https://github.com/apps/read-the-docs-community
read-the-docs-communityhttps://github.com/apps/read-the-docs-community
Apr 29, 2026https://github.com/python/cpython/pull/145218#issuecomment-4344987566
Please reload this pagehttps://github.com/python/cpython/pull/145218
cpython-previewshttps://app.readthedocs.org/projects/cpython-previews/
#32544585https://app.readthedocs.org/projects/cpython-previews/builds/32544585/
f6c4dd9https://github.com/python/cpython/commit/f6c4dd9f203da01dbce00dde0bc80e4ec7df0237
mainhttps://cpython-previews.readthedocs.io/en/main/
4b33308https://github.com/python/cpython/commit/4b3330813760a3e3c75cd03023d252742168683b
  🔍 Preview build   https://cpython-previews--145218.org.readthedocs.build/en/145218/
c-api/sentinel.htmlhttps://cpython-previews--145218.org.readthedocs.build/en/145218/c-api/sentinel.html
c-api/slots.htmlhttps://cpython-previews--145218.org.readthedocs.build/en/145218/c-api/slots.html
glossary.htmlhttps://cpython-previews--145218.org.readthedocs.build/en/145218/glossary.html
c-api/buffer.htmlhttps://cpython-previews--145218.org.readthedocs.build/en/145218/c-api/buffer.html
c-api/code.htmlhttps://cpython-previews--145218.org.readthedocs.build/en/145218/c-api/code.html
c-api/concrete.htmlhttps://cpython-previews--145218.org.readthedocs.build/en/145218/c-api/concrete.html
c-api/descriptor.htmlhttps://cpython-previews--145218.org.readthedocs.build/en/145218/c-api/descriptor.html
c-api/exceptions.htmlhttps://cpython-previews--145218.org.readthedocs.build/en/145218/c-api/exceptions.html
c-api/extension-modules.htmlhttps://cpython-previews--145218.org.readthedocs.build/en/145218/c-api/extension-modules.html
c-api/gen.htmlhttps://cpython-previews--145218.org.readthedocs.build/en/145218/c-api/gen.html
c-api/index.htmlhttps://cpython-previews--145218.org.readthedocs.build/en/145218/c-api/index.html
c-api/intro.htmlhttps://cpython-previews--145218.org.readthedocs.build/en/145218/c-api/intro.html
Please reload this pagehttps://github.com/python/cpython/pull/145218
https://github.com/sunmy2019
sunmy2019https://github.com/sunmy2019
Apr 30, 2026https://github.com/python/cpython/pull/145218#issuecomment-4353361969
Please reload this pagehttps://github.com/python/cpython/pull/145218
Please reload this pagehttps://github.com/python/cpython/pull/145218
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
May 3, 2026 https://github.com/python/cpython/pull/145218#ref-pullrequest-4370583696
gh-145378: Generate consistent colors for pdb commands #149305 https://github.com/python/cpython/pull/149305
https://github.com/hugovk
hugovkhttps://github.com/hugovk
May 3, 2026https://github.com/python/cpython/pull/145218#issuecomment-4366134177
Please reload this pagehttps://github.com/python/cpython/pull/145218
https://github.com/sunmy2019
sunmy2019https://github.com/sunmy2019
May 3, 2026https://github.com/python/cpython/pull/145218#issuecomment-4366784150
Please reload this pagehttps://github.com/python/cpython/pull/145218
https://github.com/hugovk
hugovkhttps://github.com/hugovk
May 4, 2026https://github.com/python/cpython/pull/145218#issuecomment-4369324722
Please reload this pagehttps://github.com/python/cpython/pull/145218
https://github.com/hugovk
Merge remote-tracking branch 'upstream/main' into 3.15-pprint-colourhttps://github.com/python/cpython/pull/145218/commits/d907d383e0116a1a8697ba69866700ec853b577c
d907d38https://github.com/python/cpython/pull/145218/commits/d907d383e0116a1a8697ba69866700ec853b577c
https://github.com/encukou
encukouhttps://github.com/encukou
May 5, 2026https://github.com/python/cpython/pull/145218#issuecomment-4379233006
https://private-user-images.githubusercontent.com/302922/587672494-35e45aa9-a186-4b15-b9ed-3b09d7154914.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODM4NTE3NDQsIm5iZiI6MTc4Mzg1MTQ0NCwicGF0aCI6Ii8zMDI5MjIvNTg3NjcyNDk0LTM1ZTQ1YWE5LWExODYtNGIxNS1iOWVkLTNiMDlkNzE1NDkxNC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwNzEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDcxMlQxMDE3MjRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT05MTg0MjAxNDBhYjczY2Q4ZDA4MjMyM2U1ZDE4OTMyYzY1N2I0NTQ3OWU5MTkxNDgwYzIyZjYyNjlhZTA2YzFjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.fISq-x0nJaQPvjv7Bi1hfnyCxv-9VXZDrKftA-_sdUE
Please reload this pagehttps://github.com/python/cpython/pull/145218
https://github.com/hugovk
Skip colour for non-Python https://github.com/python/cpython/pull/145218/commits/f6c4dd9f203da01dbce00dde0bc80e4ec7df0237
f6c4dd9https://github.com/python/cpython/pull/145218/commits/f6c4dd9f203da01dbce00dde0bc80e4ec7df0237
https://github.com/hugovk
hugovkhttps://github.com/hugovk
May 5, 2026https://github.com/python/cpython/pull/145218#issuecomment-4379857591
Please reload this pagehttps://github.com/python/cpython/pull/145218
https://github.com/encukou
encukouhttps://github.com/encukou
May 5, 2026https://github.com/python/cpython/pull/145218#issuecomment-4380206637
https://private-user-images.githubusercontent.com/302922/587734732-5b15d48e-8e83-44a8-86d8-985d7cea4d18.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODM4NTE3NDQsIm5iZiI6MTc4Mzg1MTQ0NCwicGF0aCI6Ii8zMDI5MjIvNTg3NzM0NzMyLTViMTVkNDhlLThlODMtNDRhOC04NmQ4LTk4NWQ3Y2VhNGQxOC5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYwNzEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MDcxMlQxMDE3MjRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wMTUzZWUyODY0ZmU5YWE0MTJkNmE2MTUxYWMyZDJmODEwNGJmZmY4NTE5OTkxMzUwNmRkZjNlNTY3MzFlZTU1JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.KmLPWacIpQ7mYZ7maGP75XKo0meLb6bkKUTLtVp8jJQ
Please reload this pagehttps://github.com/python/cpython/pull/145218
https://github.com/hugovk
hugovkhttps://github.com/hugovk
May 6, 2026https://github.com/python/cpython/pull/145218#issuecomment-4386966372
Please reload this pagehttps://github.com/python/cpython/pull/145218
https://github.com/encukou
encukouhttps://github.com/encukou
May 6, 2026https://github.com/python/cpython/pull/145218#issuecomment-4387271078
PEP-813https://peps.python.org/813
Please reload this pagehttps://github.com/python/cpython/pull/145218
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F145218
https://github.com/zooba
zooba https://github.com/zooba
https://github.com/python/cpython/pull/145218/files/1aac2602f290d9d8b26487f7720374efe60e4ee5
https://github.com/sunmy2019
sunmy2019 https://github.com/sunmy2019
https://github.com/python/cpython/pull/145218/files/028ca36404d78aacca212469ab6b9d831b834bc4
https://github.com/StanFromIreland
StanFromIreland https://github.com/StanFromIreland
https://github.com/python/cpython/pull/145218/files/7208828ba164fe0aebad754da363bd429d2d7754
https://github.com/AA-Turner
AA-Turner https://github.com/AA-Turner
https://github.com/pablogsal
pablogsal https://github.com/pablogsal
https://github.com/lysnikolaou
lysnikolaou https://github.com/lysnikolaou
https://github.com/ambv
ambv https://github.com/ambv
https://github.com/johnslavik
johnslavik https://github.com/johnslavik
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
stdlib https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astdlib
type-feature https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature
Please reload this pagehttps://github.com/python/cpython/pull/145218
https://github.com/hugovk
https://github.com/StanFromIreland
https://github.com/sunmy2019
https://github.com/encukou
https://github.com/zooba
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.