René's URL Explorer Experiment


Title: gh-90117: handle dict and mapping views in pprint by devdanzin · Pull Request #30135 · python/cpython · GitHub

Open Graph Title: gh-90117: handle dict and mapping views in pprint by devdanzin · Pull Request #30135 · python/cpython

X Title: gh-90117: handle dict and mapping views in pprint by devdanzin · Pull Request #30135 · python/cpython

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

Open Graph Description: This PR adds two methods to PrettyPrinter: one to handle dict_keys and dict_values (sorted with _safe_key), another to handle dict_items (sorted using _safe_tuple). Design and implementation open...

X Description: This PR adds two methods to PrettyPrinter: one to handle dict_keys and dict_values (sorted with _safe_key), another to handle dict_items (sorted using _safe_tuple). Design and implementation open...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:9509fe6f-198c-561a-8540-9291ec3928bd
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE4AA:30E5B0:32C2390:43349A8:6B0034E3
html-safe-nonce6e82fddf86e0dc082dea80f348b31cf1c4d4265c19a977ec505cf391a70e1e1b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEFBOjMwRTVCMDozMkMyMzkwOjQzMzQ5QTg6NkIwMDM0RTMiLCJ2aXNpdG9yX2lkIjoiNzQ4NTU3NDIxNDIyOTk2NDAwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac29667567ec704c15aa55b118c76e81f683b40dd5e6d46fef55d18fdff6c64d07
hovercard-subject-tagpull_request:804265429
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/30135/commits
twitter:imagehttps://opengraph.githubassets.com/22ee5ea4082a7bff0661d0566880f035d7b1ef26b1f960ff8019eb515f84739f/python/cpython/pull/30135
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/22ee5ea4082a7bff0661d0566880f035d7b1ef26b1f960ff8019eb515f84739f/python/cpython/pull/30135
og:image:altThis PR adds two methods to PrettyPrinter: one to handle dict_keys and dict_values (sorted with _safe_key), another to handle dict_items (sorted using _safe_tuple). Design and implementation open...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedevdanzin
hostnamegithub.com
expected-hostnamegithub.com
None7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0
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
releasef3f3a43ca095cdea3abbb394112e971f9fdb94fa
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/30135/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F30135%2Fcommits
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F30135%2Fcommits
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/30135/commits
Reloadhttps://github.com/python/cpython/pull/30135/commits
Reloadhttps://github.com/python/cpython/pull/30135/commits
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
gpsheadhttps://github.com/gpshead
python:mainhttps://github.com/python/cpython/tree/main
devdanzin:pprint_dict_viewhttps://github.com/devdanzin/cpython/tree/pprint_dict_view
Conversationhttps://github.com/python/cpython/pull/30135
Commits45 (45)https://github.com/python/cpython/pull/30135/commits
Checkshttps://github.com/python/cpython/pull/30135/checks
Files changedhttps://github.com/python/cpython/pull/30135/files
gh-90117: handle dict and mapping views in pprinthttps://github.com/python/cpython/pull/30135/commits#top
gpsheadhttps://github.com/gpshead
python:mainhttps://github.com/python/cpython/tree/main
devdanzin:pprint_dict_viewhttps://github.com/devdanzin/cpython/tree/pprint_dict_view
Teach pprint about dict views with PrettyPrinter._pprint_dict_view and ._pprint_dict_items_view.https://github.com/python/cpython/pull/30135/commits/f7835caceaebfa97c88bb5d4b58b11370c005b60
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
f7835cahttps://github.com/python/cpython/pull/30135/commits/f7835caceaebfa97c88bb5d4b58b11370c005b60
https://github.com/python/cpython/tree/f7835caceaebfa97c88bb5d4b58b11370c005b60
Merge branch 'main' of https://github.com/python/cpython into pprint_dict_viewhttps://github.com/python/cpython/pull/30135/commits/1eda2d5a56c44bafc956a16749641b21b18a4f1f
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
1eda2d5https://github.com/python/cpython/pull/30135/commits/1eda2d5a56c44bafc956a16749641b21b18a4f1f
https://github.com/python/cpython/tree/1eda2d5a56c44bafc956a16749641b21b18a4f1f
Use _private names for _dict_*_view attributes of PrettyPrinter.https://github.com/python/cpython/pull/30135/commits/9500a7491d46905491a9b856d8b85258f7d99731
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
9500a74https://github.com/python/cpython/pull/30135/commits/9500a7491d46905491a9b856d8b85258f7d99731
https://github.com/python/cpython/tree/9500a7491d46905491a9b856d8b85258f7d99731
Use explicit 'items' keyword when calling _pprint_dict_view from _pprint_dict_items_view.https://github.com/python/cpython/pull/30135/commits/653cdea1231ff5f9894c4bd18592c45e138d5947
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
653cdeahttps://github.com/python/cpython/pull/30135/commits/653cdea1231ff5f9894c4bd18592c45e138d5947
https://github.com/python/cpython/tree/653cdea1231ff5f9894c4bd18592c45e138d5947
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/30135/commits/884f224b5475a791cfbf349c2ebfb99a77cf25bc
https://github.com/apps/blurb-it
blurb-it[bot]https://github.com/python/cpython/commits?author=blurb-it%5Bbot%5D
884f224https://github.com/python/cpython/pull/30135/commits/884f224b5475a791cfbf349c2ebfb99a77cf25bc
https://github.com/python/cpython/tree/884f224b5475a791cfbf349c2ebfb99a77cf25bc
Properly indent code.https://github.com/python/cpython/pull/30135/commits/48be1e9408f23dfd1f5cfc4eaf8d78d9583b39a1
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
48be1e9https://github.com/python/cpython/pull/30135/commits/48be1e9408f23dfd1f5cfc4eaf8d78d9583b39a1
https://github.com/python/cpython/tree/48be1e9408f23dfd1f5cfc4eaf8d78d9583b39a1
WIP: Improve tests and make short views sortable.https://github.com/python/cpython/pull/30135/commits/974549119a2901caa0c45e8a9c625321e6a14478
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
9745491https://github.com/python/cpython/pull/30135/commits/974549119a2901caa0c45e8a9c625321e6a14478
https://github.com/python/cpython/tree/974549119a2901caa0c45e8a9c625321e6a14478
fix typohttps://github.com/python/cpython/pull/30135/commits/7edb29d3ee161a662585ac8b1353f6612d0cb6cf
https://github.com/merwok
merwokhttps://github.com/python/cpython/commits?author=merwok
7edb29dhttps://github.com/python/cpython/pull/30135/commits/7edb29d3ee161a662585ac8b1353f6612d0cb6cf
https://github.com/python/cpython/tree/7edb29d3ee161a662585ac8b1353f6612d0cb6cf
Merge branch 'main' into pprint_dict_viewhttps://github.com/python/cpython/pull/30135/commits/7d2fa0f5152b5776994bc81ac9dbbd64f73cfe05
https://github.com/merwok
merwokhttps://github.com/python/cpython/commits?author=merwok
7d2fa0fhttps://github.com/python/cpython/pull/30135/commits/7d2fa0f5152b5776994bc81ac9dbbd64f73cfe05
https://github.com/python/cpython/tree/7d2fa0f5152b5776994bc81ac9dbbd64f73cfe05
Merge branch 'main' into pprint_dict_viewhttps://github.com/python/cpython/pull/30135/commits/32773cef4cfac87f13176a2767fabaeeecb5f3a2
https://github.com/arhadthedev
arhadthedevhttps://github.com/python/cpython/commits?author=arhadthedev
32773cehttps://github.com/python/cpython/pull/30135/commits/32773cef4cfac87f13176a2767fabaeeecb5f3a2
https://github.com/python/cpython/tree/32773cef4cfac87f13176a2767fabaeeecb5f3a2
Address the failing Docs checkhttps://github.com/python/cpython/pull/30135/commits/15dd2663ffd55f8f84aead2c0fd7568c1b405a8e
https://github.com/arhadthedev
arhadthedevhttps://github.com/python/cpython/commits?author=arhadthedev
15dd266https://github.com/python/cpython/pull/30135/commits/15dd2663ffd55f8f84aead2c0fd7568c1b405a8e
https://github.com/python/cpython/tree/15dd2663ffd55f8f84aead2c0fd7568c1b405a8e
Merge branch 'python:main' into pprint_dict_viewhttps://github.com/python/cpython/pull/30135/commits/6898bc4695ec3f9e557b74716ceddd4130f59ed2
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
6898bc4https://github.com/python/cpython/pull/30135/commits/6898bc4695ec3f9e557b74716ceddd4130f59ed2
https://github.com/python/cpython/tree/6898bc4695ec3f9e557b74716ceddd4130f59ed2
Add tests for collections.abc.[Keys|Items|Mapping|Values]View support in pprint.https://github.com/python/cpython/pull/30135/commits/67e3f14c56c3b4cd0c39cd4edf7f8f0bb3d6a332
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
67e3f14https://github.com/python/cpython/pull/30135/commits/67e3f14c56c3b4cd0c39cd4edf7f8f0bb3d6a332
https://github.com/python/cpython/tree/67e3f14c56c3b4cd0c39cd4edf7f8f0bb3d6a332
Add support for collections.abc.[Keys|Items|Mapping|Values]View in pprint.https://github.com/python/cpython/pull/30135/commits/65e0be20372e20fbc9c3e5651af37550b499c24a
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
65e0be2https://github.com/python/cpython/pull/30135/commits/65e0be20372e20fbc9c3e5651af37550b499c24a
https://github.com/python/cpython/tree/65e0be20372e20fbc9c3e5651af37550b499c24a
Split _pprint_dict_view into _pprint_abc_view, so pretty-printing normal dict views and ABC views is handled in two simple methods.https://github.com/python/cpython/pull/30135/commits/c91af096fa38a641da03fdf3c849dbfda7330f81
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
c91af09https://github.com/python/cpython/pull/30135/commits/c91af096fa38a641da03fdf3c849dbfda7330f81
https://github.com/python/cpython/tree/c91af096fa38a641da03fdf3c849dbfda7330f81
Simplify redundant code.https://github.com/python/cpython/pull/30135/commits/5b2341c11cd7c7de2b45eed25ae8469d3ebc193a
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
5b2341chttps://github.com/python/cpython/pull/30135/commits/5b2341c11cd7c7de2b45eed25ae8469d3ebc193a
https://github.com/python/cpython/tree/5b2341c11cd7c7de2b45eed25ae8469d3ebc193a
Add collections.abc views to some existing pprint tests.https://github.com/python/cpython/pull/30135/commits/a9ff3dfdb8a40bb3b465ac2c1d5484a3a101e2be
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
a9ff3dfhttps://github.com/python/cpython/pull/30135/commits/a9ff3dfdb8a40bb3b465ac2c1d5484a3a101e2be
https://github.com/python/cpython/tree/a9ff3dfdb8a40bb3b465ac2c1d5484a3a101e2be
Remove TODO.https://github.com/python/cpython/pull/30135/commits/4c6716650b13f15b6774ba0cc773a88e124d98d2
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
4c67166https://github.com/python/cpython/pull/30135/commits/4c6716650b13f15b6774ba0cc773a88e124d98d2
https://github.com/python/cpython/tree/4c6716650b13f15b6774ba0cc773a88e124d98d2
Test that views from collection.UserDict are correctly formatted by pprint.https://github.com/python/cpython/pull/30135/commits/bfa9868e6524d8861983086a87561ea5125aa2b5
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
bfa9868https://github.com/python/cpython/pull/30135/commits/bfa9868e6524d8861983086a87561ea5125aa2b5
https://github.com/python/cpython/tree/bfa9868e6524d8861983086a87561ea5125aa2b5
Handle recursive dict and ABC views.https://github.com/python/cpython/pull/30135/commits/148b4690354bcefc11e8c14391ea7d5769415510
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
148b469https://github.com/python/cpython/pull/30135/commits/148b4690354bcefc11e8c14391ea7d5769415510
https://github.com/python/cpython/tree/148b4690354bcefc11e8c14391ea7d5769415510
Test that subclasses of ABC views work in pprint.https://github.com/python/cpython/pull/30135/commits/34abce71c667554c999b7b6b0b86f2053f4a6e86
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
34abce7https://github.com/python/cpython/pull/30135/commits/34abce71c667554c999b7b6b0b86f2053f4a6e86
https://github.com/python/cpython/tree/34abce71c667554c999b7b6b0b86f2053f4a6e86
Test dict views coming from collections.Counter.https://github.com/python/cpython/pull/30135/commits/09839a60fc0e8d74687545c0aaeb80b31ce70fa1
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
09839a6https://github.com/python/cpython/pull/30135/commits/09839a60fc0e8d74687545c0aaeb80b31ce70fa1
https://github.com/python/cpython/tree/09839a60fc0e8d74687545c0aaeb80b31ce70fa1
Test ABC views coming from collections.ChainMap.https://github.com/python/cpython/pull/30135/commits/091c3bbe45c69fd003a4d2edadd246aba3451c59
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
091c3bbhttps://github.com/python/cpython/pull/30135/commits/091c3bbe45c69fd003a4d2edadd246aba3451c59
https://github.com/python/cpython/tree/091c3bbe45c69fd003a4d2edadd246aba3451c59
Test odict views coming from collections.OrderedDict.https://github.com/python/cpython/pull/30135/commits/29655a03cc0d1943325e4b7f9cf9e2a78f8c767e
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
29655a0https://github.com/python/cpython/pull/30135/commits/29655a03cc0d1943325e4b7f9cf9e2a78f8c767e
https://github.com/python/cpython/tree/29655a03cc0d1943325e4b7f9cf9e2a78f8c767e
Merge branch 'main' into pprint_dict_viewhttps://github.com/python/cpython/pull/30135/commits/7ecb45607c8aaf95ddda6b66172f56eeda1ff327
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
7ecb456https://github.com/python/cpython/pull/30135/commits/7ecb45607c8aaf95ddda6b66172f56eeda1ff327
https://github.com/python/cpython/tree/7ecb45607c8aaf95ddda6b66172f56eeda1ff327
Rename _pprint_abc_view to _pprint_mapping_abc_view.https://github.com/python/cpython/pull/30135/commits/646816ae4fc957366776acfb91549982749fc150
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
646816ahttps://github.com/python/cpython/pull/30135/commits/646816ae4fc957366776acfb91549982749fc150
https://github.com/python/cpython/tree/646816ae4fc957366776acfb91549982749fc150
Add pprint test for mapping ABC views where ._mapping has a custom __repr__ and fix ChainMap test.https://github.com/python/cpython/pull/30135/commits/7537a52a4e758180ad062aaff9e45ab6cc1392bb
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
7537a52https://github.com/python/cpython/pull/30135/commits/7537a52a4e758180ad062aaff9e45ab6cc1392bb
https://github.com/python/cpython/tree/7537a52a4e758180ad062aaff9e45ab6cc1392bb
When a mapping ABC view has a ._mapping that defines a custom __repr__, dispatch pretty-printing it by that __repr__.https://github.com/python/cpython/pull/30135/commits/7a6769d41f78a7f94e9bac095d4324fa2153dce4
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
7a6769dhttps://github.com/python/cpython/pull/30135/commits/7a6769d41f78a7f94e9bac095d4324fa2153dce4
https://github.com/python/cpython/tree/7a6769d41f78a7f94e9bac095d4324fa2153dce4
Merge branch 'python:main' into pprint_dict_viewhttps://github.com/python/cpython/pull/30135/commits/7dcb9cf9424dc37d60997fa422d102edbf96b39d
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
7dcb9cfhttps://github.com/python/cpython/pull/30135/commits/7dcb9cf9424dc37d60997fa422d102edbf96b39d
https://github.com/python/cpython/tree/7dcb9cf9424dc37d60997fa422d102edbf96b39d
Merge remote-tracking branch 'refs/remotes/origin/pprint_dict_view' into pprint_dict_viewhttps://github.com/python/cpython/pull/30135/commits/06babe4611fd58e66b6742410a2fe49ebddf7fe9
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
06babe4https://github.com/python/cpython/pull/30135/commits/06babe4611fd58e66b6742410a2fe49ebddf7fe9
https://github.com/python/cpython/tree/06babe4611fd58e66b6742410a2fe49ebddf7fe9
Add tests for ABC mapping views subclasses that don't replace __repr__, also handling those that delete ._mapping on instances.https://github.com/python/cpython/pull/30135/commits/58692d2c4b67cc7d6f962fad8739d899f6281751
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
58692d2https://github.com/python/cpython/pull/30135/commits/58692d2c4b67cc7d6f962fad8739d899f6281751
https://github.com/python/cpython/tree/58692d2c4b67cc7d6f962fad8739d899f6281751
Simplify the pretty printing of ABC mapping views.https://github.com/python/cpython/pull/30135/commits/8e605c1244133a7cad2ae33830ed86b56c7960ee
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
8e605c1https://github.com/python/cpython/pull/30135/commits/8e605c1244133a7cad2ae33830ed86b56c7960ee
https://github.com/python/cpython/tree/8e605c1244133a7cad2ae33830ed86b56c7960ee
Merge branch 'python:main' into pprint_dict_viewhttps://github.com/python/cpython/pull/30135/commits/7e27e02643f9b0b111dcfbd1c58c8bb1a0c0f9c6
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
7e27e02https://github.com/python/cpython/pull/30135/commits/7e27e02643f9b0b111dcfbd1c58c8bb1a0c0f9c6
https://github.com/python/cpython/tree/7e27e02643f9b0b111dcfbd1c58c8bb1a0c0f9c6
Merge remote-tracking branch 'refs/remotes/origin/pprint_dict_view' into pprint_dict_viewhttps://github.com/python/cpython/pull/30135/commits/eb66934360dcaa0c2314064481a74e470ef21480
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
eb66934https://github.com/python/cpython/pull/30135/commits/eb66934360dcaa0c2314064481a74e470ef21480
https://github.com/python/cpython/tree/eb66934360dcaa0c2314064481a74e470ef21480
Add a test for depth handling when pretty printing dict views.https://github.com/python/cpython/pull/30135/commits/1dc4ab2fd1e24745e67634468f615576f42327e9
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
1dc4ab2https://github.com/python/cpython/pull/30135/commits/1dc4ab2fd1e24745e67634468f615576f42327e9
https://github.com/python/cpython/tree/1dc4ab2fd1e24745e67634468f615576f42327e9
Fix checking whether the view type is a subclass of an items view, add a test.https://github.com/python/cpython/pull/30135/commits/f2674524ca8906b5b73874714457ede1c6c2719e
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
f267452https://github.com/python/cpython/pull/30135/commits/f2674524ca8906b5b73874714457ede1c6c2719e
https://github.com/python/cpython/tree/f2674524ca8906b5b73874714457ede1c6c2719e
Move construction of the views __repr__ set out of _safe_repr.https://github.com/python/cpython/pull/30135/commits/386733836cd4b023755ce2a9d9445ea5f77595f4
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
3867338https://github.com/python/cpython/pull/30135/commits/386733836cd4b023755ce2a9d9445ea5f77595f4
https://github.com/python/cpython/tree/386733836cd4b023755ce2a9d9445ea5f77595f4
Merge branch 'main' into pprint_dict_viewhttps://github.com/python/cpython/pull/30135/commits/1a609d0953677f845c81405e8561ee29a13bca76
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
1a609d0https://github.com/python/cpython/pull/30135/commits/1a609d0953677f845c81405e8561ee29a13bca76
https://github.com/python/cpython/tree/1a609d0953677f845c81405e8561ee29a13bca76
Merge remote-tracking branch 'refs/remotes/origin/pprint_dict_view' into pprint_dict_viewhttps://github.com/python/cpython/pull/30135/commits/bca6f6f54df2ecb0cacc8bf9a63c0450cfc0ae2d
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
bca6f6fhttps://github.com/python/cpython/pull/30135/commits/bca6f6f54df2ecb0cacc8bf9a63c0450cfc0ae2d
https://github.com/python/cpython/tree/bca6f6f54df2ecb0cacc8bf9a63c0450cfc0ae2d
Merge branch 'python:main' into pprint_dict_viewhttps://github.com/python/cpython/pull/30135/commits/d020f86dfb4b434f0533efab13e2c59415a97e8c
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
d020f86https://github.com/python/cpython/pull/30135/commits/d020f86dfb4b434f0533efab13e2c59415a97e8c
https://github.com/python/cpython/tree/d020f86dfb4b434f0533efab13e2c59415a97e8c
Merge branch 'python:main' into pprint_dict_viewhttps://github.com/python/cpython/pull/30135/commits/ee7b52196cbea7d794fb2c2675ce910975cfe58f
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
ee7b521https://github.com/python/cpython/pull/30135/commits/ee7b52196cbea7d794fb2c2675ce910975cfe58f
https://github.com/python/cpython/tree/ee7b52196cbea7d794fb2c2675ce910975cfe58f
Merge branch 'python:main' into pprint_dict_viewhttps://github.com/python/cpython/pull/30135/commits/7009887aa22a653a67f6b034cc82ee62a0170bab
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
7009887https://github.com/python/cpython/pull/30135/commits/7009887aa22a653a67f6b034cc82ee62a0170bab
https://github.com/python/cpython/tree/7009887aa22a653a67f6b034cc82ee62a0170bab
Merge branch 'main' into pprint_dict_viewhttps://github.com/python/cpython/pull/30135/commits/9499115925758e43c06ba644a2a521c301e23765
https://github.com/devdanzin
devdanzinhttps://github.com/python/cpython/commits?author=devdanzin
9499115https://github.com/python/cpython/pull/30135/commits/9499115925758e43c06ba644a2a521c301e23765
https://github.com/python/cpython/tree/9499115925758e43c06ba644a2a521c301e23765
Merge branch 'main' into pprint_dict_viewhttps://github.com/python/cpython/pull/30135/commits/692c0cd8d139254f7447eb6631ebe7f12809fca2
https://github.com/AA-Turner
AA-Turnerhttps://github.com/python/cpython/commits?author=AA-Turner
692c0cdhttps://github.com/python/cpython/pull/30135/commits/692c0cd8d139254f7447eb6631ebe7f12809fca2
https://github.com/python/cpython/tree/692c0cd8d139254f7447eb6631ebe7f12809fca2
Merge branch 'main' into pprint_dict_viewhttps://github.com/python/cpython/pull/30135/commits/90e069c6c7e072c0ffdf5ed2d294f1863553a4a5
https://github.com/gpshead
gpsheadhttps://github.com/python/cpython/commits?author=gpshead
90e069chttps://github.com/python/cpython/pull/30135/commits/90e069c6c7e072c0ffdf5ed2d294f1863553a4a5
https://github.com/python/cpython/tree/90e069c6c7e072c0ffdf5ed2d294f1863553a4a5
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.