| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:92e0d83d-ca86-c2e2-45fb-fc60fb47d802 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D0E2:3695F9:2BC1202:3F09EF2:6A567BE6 |
| html-safe-nonce | 25dcf88661365815fc2c7b66377b7e9995c6913999664e9da2c466854b4a8fd5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMEUyOjM2OTVGOToyQkMxMjAyOjNGMDlFRjI6NkE1NjdCRTYiLCJ2aXNpdG9yX2lkIjoiODAwNjM4MzU3NjMyNDQwNjI0NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e1b6187e4d2fff5b7d331093c0c5c5cef61f911755397d1dac94e6bd9e5bf1ce |
| hovercard-subject-tag | pull_request:256926917 |
| 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/12088/files |
| twitter:image | https://avatars.githubusercontent.com/u/40968415?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/40968415?s=400&v=4 |
| og:image:alt | https://bugs.python.org/issue36144 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 19b5ee9431dcfce15ab4b001d626e4e3a6ba1acb7be814813a52bbebd9a86ef5 |
| 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 | fc131753d059926755b1ab26f13a2c96a692f5d7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/12088/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F12088%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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 |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F12088%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/12088/files |
| Reload | https://github.com/python/cpython/pull/12088/files |
| Reload | https://github.com/python/cpython/pull/12088/files |
| Please reload this page | https://github.com/python/cpython/pull/12088/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/12088/files |
|
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 |
| 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 |
| gvanrossum | https://github.com/gvanrossum |
| python:master | https://github.com/python/cpython/tree/master |
| brandtbucher:addiction | https://github.com/brandtbucher/cpython/tree/addiction |
|
Conversation
56
| https://github.com/python/cpython/pull/12088 |
|
Commits
39
| https://github.com/python/cpython/pull/12088/commits |
|
Checks
0
| https://github.com/python/cpython/pull/12088/checks |
|
Files changed
4
| https://github.com/python/cpython/pull/12088/files |
|
bpo-36144: Dictionary Union (PEP 584)
| https://github.com/python/cpython/pull/12088/files#top |
|
Show all changes
39 commits
| https://github.com/python/cpython/pull/12088/files |
|
9397506
Create dict_add and dict__iadd dict methods.
brandtbucher Feb 28, 2019
| https://github.com/python/cpython/pull/12088/commits/9397506be6f17e729c8e92900e75e25cd0a2f991 |
|
c69108a
Fix failing "sum" test.
brandtbucher Feb 28, 2019
| https://github.com/python/cpython/pull/12088/commits/c69108ac77aba3d0757c4696cac984ad6f4039b2 |
|
dd42f4f
Update collections.UserDict.
brandtbucher Feb 28, 2019
| https://github.com/python/cpython/pull/12088/commits/dd42f4f7070089b7eba04702725a6c8bbe0e1f0b |
|
f59cdab
Update test_dict.py.
brandtbucher Feb 28, 2019
| https://github.com/python/cpython/pull/12088/commits/f59cdab22c7e331dd1c14165c54dea0ac0f1fab7 |
|
d895b9b
Update ACKS.
brandtbucher Feb 28, 2019
| https://github.com/python/cpython/pull/12088/commits/d895b9bc6d4915cd7f4eefc9775e59944742ac49 |
|
da8e2e3
Fixed whitespace.
brandtbucher Feb 28, 2019
| https://github.com/python/cpython/pull/12088/commits/da8e2e373e72caa075a31b2268d29267b3fcad81 |
|
91d6466
Update doctest count for builtins.
brandtbucher Feb 28, 2019
| https://github.com/python/cpython/pull/12088/commits/91d64661ec101fc1c132425a0ff84d2c328fbe13 |
|
b2eced1
📜🤖 Added by blurb_it.
blurb-it[bot] Feb 28, 2019
| https://github.com/python/cpython/pull/12088/commits/b2eced1be4fabebce09425fb27cb37aed5c2eb2b |
|
bf0b383
Fix error handling.
brandtbucher Feb 28, 2019
| https://github.com/python/cpython/pull/12088/commits/bf0b3839a14c90f360950e086b99e304936fb78a |
|
e660046
Be "nicer" to subclasses than other built-in types.
brandtbucher Mar 2, 2019
| https://github.com/python/cpython/pull/12088/commits/e6600462cf34d78364a779c1e20014d734a5e197 |
|
4c0223b
Add dict subtraction operations.
brandtbucher Mar 2, 2019
| https://github.com/python/cpython/pull/12088/commits/4c0223b65c44f216d932a6c02896bd6e3e0910bd |
|
2cb1629
Add new subtraction methods to collections.UserDict.
brandtbucher Mar 2, 2019
| https://github.com/python/cpython/pull/12088/commits/2cb1629bab9baa77a2af151869beac9c42b72d01 |
|
05ed4cf
Add new dict subtraction tests.
brandtbucher Mar 2, 2019
| https://github.com/python/cpython/pull/12088/commits/05ed4cf9269c3779b2f30cecfb59f724cccb7e5a |
|
594ae27
📜🤖 Added by blurb_it.
blurb-it[bot] Mar 2, 2019
| https://github.com/python/cpython/pull/12088/commits/594ae2797789e5abd48c123dfe26efe05c983bb2 |
|
d1c830c
Merge branch 'addiction' of https://github.com/brandtbucher/cpython i…
brandtbucher Mar 2, 2019
| https://github.com/python/cpython/pull/12088/commits/d1c830c98c6466ef5330d2b7ca695094ff98516f |
|
f7ed0a2
Better error handling and "keys" method lookup.
brandtbucher Mar 3, 2019
| https://github.com/python/cpython/pull/12088/commits/f7ed0a25a1e6c08d77985984d888c06fb0438eea |
|
8be454a
Clean up comments, names, and logic.
brandtbucher Mar 6, 2019
| https://github.com/python/cpython/pull/12088/commits/8be454a8d12a7585d3e6ce2603aceb935d1f1c85 |
|
63c36dd
Update commented code.
brandtbucher Mar 7, 2019
| https://github.com/python/cpython/pull/12088/commits/63c36dd707f85eae933ad0695dd40a0137e842f7 |
|
2ba0580
Update new collections.UserDict operators.
brandtbucher Mar 22, 2019
| https://github.com/python/cpython/pull/12088/commits/2ba05805e74c63d8eac6f983fbd7dee4fbd9dff2 |
|
fa44826
Add | and |= operators as aliases to + and +=.
brandtbucher Mar 22, 2019
| https://github.com/python/cpython/pull/12088/commits/fa44826862bb9344fd7e97c151dfc2f46abcc93f |
|
5d77bf8
Fix whitespace... again.
brandtbucher Mar 22, 2019
| https://github.com/python/cpython/pull/12088/commits/5d77bf8cadc08d4ee3326c4090c084036020fefe |
|
1793169
Catch up with master.
brandtbucher Oct 14, 2019
| https://github.com/python/cpython/pull/12088/commits/17931697a4890188ca04ecbfb2d9140635eff479 |
|
362657e
Remove sub/isub/or/ior operators.
brandtbucher Oct 14, 2019
| https://github.com/python/cpython/pull/12088/commits/362657ed95b30a08996391f5111108c958685682 |
|
04fb96e
Remove extra whitespace.
brandtbucher Oct 16, 2019
| https://github.com/python/cpython/pull/12088/commits/04fb96e44c0c4ed7329914f7ae9a3fa4a4c0d146 |
|
567a218
Use copy() instead of __new__() and update(self).
brandtbucher Oct 16, 2019
| https://github.com/python/cpython/pull/12088/commits/567a218d60b0600c19f4afaef7e7450f067ab34e |
|
159ebda
Clarify NEWS entry.
brandtbucher Oct 15, 2019
| https://github.com/python/cpython/pull/12088/commits/159ebda140997a961bb453cf92c47c1bb7e3e11a |
|
28c5c56
+ -> |
brandtbucher Dec 28, 2019
| https://github.com/python/cpython/pull/12088/commits/28c5c56af558fabc83067f811a2817a59ccad275 |
|
6951380
Update UserDict.
brandtbucher Dec 28, 2019
| https://github.com/python/cpython/pull/12088/commits/695138089f9f1495b904a711e5053f3fff3cf011 |
|
514e1ee
Catch up with master.
brandtbucher Dec 28, 2019
| https://github.com/python/cpython/pull/12088/commits/514e1ee6b11cddf14293f026828551fd2b9c0236 |
|
3567247
Modernize UserDict.__or__ trio.
brandtbucher Feb 5, 2020
| https://github.com/python/cpython/pull/12088/commits/35672479061b978e53b9e21a5acfe266e9d62f0d |
|
4588b56
Rename test.
brandtbucher Feb 5, 2020
| https://github.com/python/cpython/pull/12088/commits/4588b563985a78e68ff99ec165430d18187b849d |
|
977ffcd
Feedback from code review.
brandtbucher Feb 5, 2020
| https://github.com/python/cpython/pull/12088/commits/977ffcd9bf0dc64e52a366d70bd211bdb2fc8e34 |
|
a26a98e
Actually call the "copy" and "update" methods of subclasses.
brandtbucher Feb 5, 2020
| https://github.com/python/cpython/pull/12088/commits/a26a98e786ca0222058c2ad6f8cb95bd4257ed78 |
|
dfa7009
Consolidate shared logic.
brandtbucher Feb 5, 2020
| https://github.com/python/cpython/pull/12088/commits/dfa7009d77641d83ac9ad9ca9ae70f92415a283d |
|
7c40ba6
Check the return type of self.copy().
brandtbucher Feb 6, 2020
| https://github.com/python/cpython/pull/12088/commits/7c40ba6f208846151af35054d443c345b851513c |
|
b977a27
Add tests for subclasses.
brandtbucher Feb 6, 2020
| https://github.com/python/cpython/pull/12088/commits/b977a2757457c933929e693556e07aa0c791161a |
|
f09ba7a
Strip whitespace.
brandtbucher Feb 6, 2020
| https://github.com/python/cpython/pull/12088/commits/f09ba7ad79ad4a9eeddd34fc16a5d6d661f91b04 |
|
ec33664
Remove calls to "update" method when merging.
brandtbucher Feb 7, 2020
| https://github.com/python/cpython/pull/12088/commits/ec3366485460296d760fe703384e44402fbb915e |
|
4afd3b6
Revert subclass-preserving stuff.
brandtbucher Feb 17, 2020
| https://github.com/python/cpython/pull/12088/commits/4afd3b6dafb340c4f62ed9ac007cdf45f5d56b5a |
|
Clear filters
| https://github.com/python/cpython/pull/12088/files |
| Please reload this page | https://github.com/python/cpython/pull/12088/files |
| Please reload this page | https://github.com/python/cpython/pull/12088/files |
|
__init__.py
| https://github.com/python/cpython/pull/12088/files#diff-c92f871cb9b4aa1583c89f82cd416d58a5d70fff41faf41e45dedf775dbe7713 |
|
test_dict.py
| https://github.com/python/cpython/pull/12088/files#diff-a040eea55332ac71f2f5db3966f7261f844ceceaac675cc0f30eb973d2593a26 |
|
2019-03-02-23-03-34.bpo-36144.LRl4LS.rst
| https://github.com/python/cpython/pull/12088/files#diff-480a910f27896817d3b0ead911f1a23684ee12235710ef1f3d4b353a91006a41 |
|
dictobject.c
| https://github.com/python/cpython/pull/12088/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
| Lib/collections/__init__.py | https://github.com/python/cpython/pull/12088/files#diff-c92f871cb9b4aa1583c89f82cd416d58a5d70fff41faf41e45dedf775dbe7713 |
|
View file
| https://github.com/brandtbucher/cpython/blob/4afd3b6dafb340c4f62ed9ac007cdf45f5d56b5a/Lib/collections/__init__.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/12088/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/12088/files#diff-c92f871cb9b4aa1583c89f82cd416d58a5d70fff41faf41e45dedf775dbe7713 |
| Please reload this page | https://github.com/python/cpython/pull/12088/files |
|
| https://github.com/python/cpython/pull/12088/files#diff-c92f871cb9b4aa1583c89f82cd416d58a5d70fff41faf41e45dedf775dbe7713 |
| Lib/test/test_dict.py | https://github.com/python/cpython/pull/12088/files#diff-a040eea55332ac71f2f5db3966f7261f844ceceaac675cc0f30eb973d2593a26 |
|
View file
| https://github.com/brandtbucher/cpython/blob/4afd3b6dafb340c4f62ed9ac007cdf45f5d56b5a/Lib/test/test_dict.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/12088/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/12088/files#diff-a040eea55332ac71f2f5db3966f7261f844ceceaac675cc0f30eb973d2593a26 |
| Please reload this page | https://github.com/python/cpython/pull/12088/files |
| Please reload this page | https://github.com/python/cpython/pull/12088/files |
|
| https://github.com/python/cpython/pull/12088/files#diff-a040eea55332ac71f2f5db3966f7261f844ceceaac675cc0f30eb973d2593a26 |
| Misc/NEWS.d/next/Core and Builtins/2019-03-02-23-03-34.bpo-36144.LRl4LS.rst | https://github.com/python/cpython/pull/12088/files#diff-480a910f27896817d3b0ead911f1a23684ee12235710ef1f3d4b353a91006a41 |
|
View file
| https://github.com/brandtbucher/cpython/blob/4afd3b6dafb340c4f62ed9ac007cdf45f5d56b5a/Misc/NEWS.d/next/Core%20and%20Builtins/2019-03-02-23-03-34.bpo-36144.LRl4LS.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/12088/{{ revealButtonHref }} |
| Objects/dictobject.c | https://github.com/python/cpython/pull/12088/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
|
View file
| https://github.com/brandtbucher/cpython/blob/4afd3b6dafb340c4f62ed9ac007cdf45f5d56b5a/Objects/dictobject.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/12088/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/12088/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
|
| https://github.com/python/cpython/pull/12088/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
|
| https://github.com/python/cpython/pull/12088/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
|
| https://github.com/python/cpython/pull/12088/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
|
| https://github.com/python/cpython/pull/12088/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
|
| https://github.com/python/cpython/pull/12088/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
|
| https://github.com/python/cpython/pull/12088/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
|
| https://github.com/python/cpython/pull/12088/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
|
| https://github.com/python/cpython/pull/12088/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
|
| 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 |