| react-profiling | 0 |
| react-import-map | react,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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:cff69db3-432d-367d-7c38-4ccc6f8da308 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DA0C:27FBAD:6CE1C3:949E08:6B007900 |
| html-safe-nonce | af6919d99ea19417de9e53a6fb33a5ca05505b106534f2e8677867cd9d85fb0b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTBDOjI3RkJBRDo2Q0UxQzM6OTQ5RTA4OjZCMDA3OTAwIiwidmlzaXRvcl9pZCI6IjUyODY5ODY5OTIzNDc4MDU5NTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 13943d421569b10d7151a2e826bf1099427cdbbbbafbc1a237f2afd8a324f32f |
| hovercard-subject-tag | pull_request:1031847891 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/96146/files |
| twitter:image | https://avatars.githubusercontent.com/u/1623689?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1623689?s=400&v=4 |
| og:image:alt | Issue: gh-96145 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 75c2b65dd205f26961d0c29afed1a8d0bb7cca9f05780571dfd1ef93eb539d16 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 84e563eb4b55f8fa102f325f117533cee9e3df4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/96146/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F96146%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F96146%2Ffiles |
| 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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/96146/files |
| Reload | https://github.com/python/cpython/pull/96146/files |
| Reload | https://github.com/python/cpython/pull/96146/files |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | 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/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| rhettinger | https://github.com/rhettinger |
| python:main | https://github.com/python/cpython/tree/main |
| rhettinger:attrdict | https://github.com/rhettinger/cpython/tree/attrdict |
|
Conversation
0
| https://github.com/python/cpython/pull/96146 |
|
Commits
14
| https://github.com/python/cpython/pull/96146/commits |
|
Checks
0
| https://github.com/python/cpython/pull/96146/checks |
|
Files changed
| https://github.com/python/cpython/pull/96146/files |
| Please reload this page | https://github.com/python/cpython/pull/96146/files |
|
gh-96145: Add AttrDict to JSON module for use with object_hook
| https://github.com/python/cpython/pull/96146/files#top |
|
Show all changes
14 commits
| https://github.com/python/cpython/pull/96146/files |
|
a088e3c
Add AttrDict to the JSON module.
rhettinger Aug 20, 2022
| https://github.com/python/cpython/pull/96146/commits/a088e3c76cb04b783083aac1f10bd97eb9e9193f |
|
4543ec0
Add tests
rhettinger Aug 20, 2022
| https://github.com/python/cpython/pull/96146/commits/4543ec034ea0a79ea7485419f1a7fbe7bb914274 |
|
b56231b
Add docs
rhettinger Aug 20, 2022
| https://github.com/python/cpython/pull/96146/commits/b56231b5a82808f629d19cb20ebc12f05a0bce03 |
|
185e8e3
Lowercase names look nicer
rhettinger Aug 20, 2022
| https://github.com/python/cpython/pull/96146/commits/185e8e3d4b2443bb216e9328d704676c8b0afbfe |
|
fcdb764
Add blurb
rhettinger Aug 20, 2022
| https://github.com/python/cpython/pull/96146/commits/fcdb764bd9dc1925d6b06b4dda40a30b4d6fc091 |
|
0220c0f
Add doctest
rhettinger Aug 20, 2022
| https://github.com/python/cpython/pull/96146/commits/0220c0f10067fea4e62b8d80ee4102c213c352c7 |
|
ae4399a
Doctest needs an import
rhettinger Aug 20, 2022
| https://github.com/python/cpython/pull/96146/commits/ae4399a2c542ee003b84c7415acc40947a0703cd |
|
148e110
Move tests to the test_json directory
rhettinger Aug 20, 2022
| https://github.com/python/cpython/pull/96146/commits/148e110d2c94dfe39edf81d07d26ba922112b1eb |
|
dd8e67c
Tighten word working in the section for valid attribute names.
rhettinger Aug 20, 2022
| https://github.com/python/cpython/pull/96146/commits/dd8e67cb4c5aae2560450f83190d8f3ed241a3c8 |
|
410d706
Adjust to test requirements in test/json
rhettinger Aug 20, 2022
| https://github.com/python/cpython/pull/96146/commits/410d7066c60eb1abe5a7be6f7f915b194dd6bd03 |
|
2cb9642
Add constructor tests and slots
rhettinger Aug 21, 2022
| https://github.com/python/cpython/pull/96146/commits/2cb96428bc6fa9b21be925d14c4166467351e0b5 |
|
aa2b7a5
Grammar fix
rhettinger Aug 21, 2022
| https://github.com/python/cpython/pull/96146/commits/aa2b7a5ac2c3932322e39d31e9cb3f5767c669f8 |
|
2eb6f5e
Update __all__. Add a roundtrip test.
rhettinger Aug 21, 2022
| https://github.com/python/cpython/pull/96146/commits/2eb6f5ed93edfd98438c70b2a4b9ff42eaec83ec |
|
ad9e5e9
Add pickle tests
rhettinger Aug 21, 2022
| https://github.com/python/cpython/pull/96146/commits/ad9e5e90d6a9540609dd5f17e9a7a23c05f5376e |
|
Clear filters
| https://github.com/python/cpython/pull/96146/files |
| Please reload this page | https://github.com/python/cpython/pull/96146/files |
| Please reload this page | https://github.com/python/cpython/pull/96146/files |
|
json.rst
| https://github.com/python/cpython/pull/96146/files#diff-31831534a45e7154ec80da9cec0fa478ffef9b129f8a8dbb45270ca45eebdc57 |
|
__init__.py
| https://github.com/python/cpython/pull/96146/files#diff-4d9450a261b917fe51b74261931ac8e2096cada80570873e470ecfab570ea788 |
|
__init__.py
| https://github.com/python/cpython/pull/96146/files#diff-3aade49139a6e74ad75884c56415a29537b513caaf26cd4dc8f00b63c1ac08d7 |
|
test_attrdict.py
| https://github.com/python/cpython/pull/96146/files#diff-e4eecc0bab9d4e79e298a3972a352af0308d9b09017c48ccb998c33242e169c7 |
|
2022-08-20-12-56-15.gh-issue-96145.8ah3pE.rst
| https://github.com/python/cpython/pull/96146/files#diff-db65a9fd9000ec25fd6187156ded4f77e77a6856e7b3f02a876cc2ed4d1c6082 |
| Doc/library/json.rst | https://github.com/python/cpython/pull/96146/files#diff-31831534a45e7154ec80da9cec0fa478ffef9b129f8a8dbb45270ca45eebdc57 |
|
View file
| https://github.com/rhettinger/cpython/blob/ad9e5e90d6a9540609dd5f17e9a7a23c05f5376e/Doc/library/json.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/96146/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/96146/files#diff-31831534a45e7154ec80da9cec0fa478ffef9b129f8a8dbb45270ca45eebdc57 |
|
| https://github.com/python/cpython/pull/96146/files#diff-31831534a45e7154ec80da9cec0fa478ffef9b129f8a8dbb45270ca45eebdc57 |
|
| https://github.com/python/cpython/pull/96146/files#diff-31831534a45e7154ec80da9cec0fa478ffef9b129f8a8dbb45270ca45eebdc57 |
|
| https://github.com/python/cpython/pull/96146/files#diff-31831534a45e7154ec80da9cec0fa478ffef9b129f8a8dbb45270ca45eebdc57 |
| Lib/json/__init__.py | https://github.com/python/cpython/pull/96146/files#diff-4d9450a261b917fe51b74261931ac8e2096cada80570873e470ecfab570ea788 |
|
View file
| https://github.com/rhettinger/cpython/blob/ad9e5e90d6a9540609dd5f17e9a7a23c05f5376e/Lib/json/__init__.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/96146/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/96146/files#diff-4d9450a261b917fe51b74261931ac8e2096cada80570873e470ecfab570ea788 |
|
| https://github.com/python/cpython/pull/96146/files#diff-4d9450a261b917fe51b74261931ac8e2096cada80570873e470ecfab570ea788 |
|
| https://github.com/python/cpython/pull/96146/files#diff-4d9450a261b917fe51b74261931ac8e2096cada80570873e470ecfab570ea788 |
| Lib/test/test_json/__init__.py | https://github.com/python/cpython/pull/96146/files#diff-3aade49139a6e74ad75884c56415a29537b513caaf26cd4dc8f00b63c1ac08d7 |
|
View file
| https://github.com/rhettinger/cpython/blob/ad9e5e90d6a9540609dd5f17e9a7a23c05f5376e/Lib/test/test_json/__init__.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/96146/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/96146/files#diff-3aade49139a6e74ad75884c56415a29537b513caaf26cd4dc8f00b63c1ac08d7 |
|
| https://github.com/python/cpython/pull/96146/files#diff-3aade49139a6e74ad75884c56415a29537b513caaf26cd4dc8f00b63c1ac08d7 |
| Lib/test/test_json/test_attrdict.py | https://github.com/python/cpython/pull/96146/files#diff-e4eecc0bab9d4e79e298a3972a352af0308d9b09017c48ccb998c33242e169c7 |
|
View file
| https://github.com/rhettinger/cpython/blob/ad9e5e90d6a9540609dd5f17e9a7a23c05f5376e/Lib/test/test_json/test_attrdict.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/96146/{{ revealButtonHref }} |
| Misc/NEWS.d/next/Library/2022-08-20-12-56-15.gh-issue-96145.8ah3pE.rst | https://github.com/python/cpython/pull/96146/files#diff-db65a9fd9000ec25fd6187156ded4f77e77a6856e7b3f02a876cc2ed4d1c6082 |
|
View file
| https://github.com/rhettinger/cpython/blob/ad9e5e90d6a9540609dd5f17e9a7a23c05f5376e/Misc/NEWS.d/next/Library/2022-08-20-12-56-15.gh-issue-96145.8ah3pE.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/96146/{{ revealButtonHref }} |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |