| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:42e19307-7c21-8e0f-90f6-f7b9913bd10c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D850:2B4DA:34403D:47CD54:6A4D9D90 |
| html-safe-nonce | 47f6856f8b0d4d4447fca8aaf832066f82780d7f4e787457bbd63e9be92d98fd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODUwOjJCNERBOjM0NDAzRDo0N0NENTQ6NkE0RDlEOTAiLCJ2aXNpdG9yX2lkIjoiODYwNDY1OTcyNTk0OTA1MDI1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 234ec7973f8f9baf985f18010f433d4583c8e89b567c6a134ec7a26cd26ee32b |
| hovercard-subject-tag | pull_request:158298026 |
| 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/4859/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 | https://bugs.python.org/issue32320 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| 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 | 7f13faa65cccc9b729d674da83335d5dcfdfd193 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/4859/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F4859%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/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/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/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%2F4859%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/4859/files |
| Reload | https://github.com/python/cpython/pull/4859/files |
| Reload | https://github.com/python/cpython/pull/4859/files |
| Please reload this page | https://github.com/python/cpython/pull/4859/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/4859/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
34.8k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.6k
| 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 |
| rhettinger | https://github.com/rhettinger |
| python:master | https://github.com/python/cpython/tree/master |
| rhettinger:nt_defaults | https://github.com/rhettinger/cpython/tree/nt_defaults |
|
Conversation
20
| https://github.com/python/cpython/pull/4859 |
|
Commits
4
| https://github.com/python/cpython/pull/4859/commits |
|
Checks
0
| https://github.com/python/cpython/pull/4859/checks |
|
Files changed
| https://github.com/python/cpython/pull/4859/files |
| Please reload this page | https://github.com/python/cpython/pull/4859/files |
|
bpo-32320: Add default value support to collections.namedtuple()
| https://github.com/python/cpython/pull/4859/files#top |
|
Show all changes
4 commits
| https://github.com/python/cpython/pull/4859/files |
|
a5da93c
Add defaults values.
rhettinger Dec 14, 2017
| https://github.com/python/cpython/pull/4859/commits/a5da93cd6be38e20c1eb2f950e01e5b7f6787efe |
|
b18377c
Add _fields_defaults attribute and documentation.
rhettinger Dec 14, 2017
| https://github.com/python/cpython/pull/4859/commits/b18377c6837be2a936eca70b86d616b8b332100c |
|
57f6f14
Add news blurb
rhettinger Dec 14, 2017
| https://github.com/python/cpython/pull/4859/commits/57f6f143e23b9d8754e6cb2c0c276d945eb30a2a |
|
f636dc5
Add more tests and another example
rhettinger Jan 11, 2018
| https://github.com/python/cpython/pull/4859/commits/f636dc5c6dd686d312acf48e26caa03f966f88fd |
|
Clear filters
| https://github.com/python/cpython/pull/4859/files |
| Please reload this page | https://github.com/python/cpython/pull/4859/files |
| Please reload this page | https://github.com/python/cpython/pull/4859/files |
|
collections.rst
| https://github.com/python/cpython/pull/4859/files#diff-5251b40283a63a061147a0ae32017c629d88a95d1c363d4e47f37b7969a4b0e3 |
|
__init__.py
| https://github.com/python/cpython/pull/4859/files#diff-c92f871cb9b4aa1583c89f82cd416d58a5d70fff41faf41e45dedf775dbe7713 |
|
test_collections.py
| https://github.com/python/cpython/pull/4859/files#diff-a2a882635e20e8e9439f090d33513502a7af648286efebfa4e4bc37270c44784 |
|
2017-12-14-01-36-25.bpo-32320.jwOZlr.rst
| https://github.com/python/cpython/pull/4859/files#diff-978b6d0e68e77014ec882515061ea0e971c84b8639f7ca23a74e38d9df41457b |
| Doc/library/collections.rst | https://github.com/python/cpython/pull/4859/files#diff-5251b40283a63a061147a0ae32017c629d88a95d1c363d4e47f37b7969a4b0e3 |
|
View file
| https://github.com/rhettinger/cpython/blob/f636dc5c6dd686d312acf48e26caa03f966f88fd/Doc/library/collections.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4859/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4859/files#diff-5251b40283a63a061147a0ae32017c629d88a95d1c363d4e47f37b7969a4b0e3 |
|
| https://github.com/python/cpython/pull/4859/files#diff-5251b40283a63a061147a0ae32017c629d88a95d1c363d4e47f37b7969a4b0e3 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Dec 14, 2017 | https://github.com/python/cpython/pull/4859/files#r156912397 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4859/files |
| rhettinger | https://github.com/rhettinger |
| Jan 11, 2018 | https://github.com/python/cpython/pull/4859/files#r160865951 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4859/files |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Jan 11, 2018 | https://github.com/python/cpython/pull/4859/files#r160883332 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4859/files |
|
| https://github.com/python/cpython/pull/4859/files#diff-5251b40283a63a061147a0ae32017c629d88a95d1c363d4e47f37b7969a4b0e3 |
|
| https://github.com/python/cpython/pull/4859/files#diff-5251b40283a63a061147a0ae32017c629d88a95d1c363d4e47f37b7969a4b0e3 |
|
| https://github.com/python/cpython/pull/4859/files#diff-5251b40283a63a061147a0ae32017c629d88a95d1c363d4e47f37b7969a4b0e3 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Dec 14, 2017 | https://github.com/python/cpython/pull/4859/files#r156913534 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4859/files |
| rhettinger | https://github.com/rhettinger |
| Jan 11, 2018 | https://github.com/python/cpython/pull/4859/files#r160866090 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4859/files |
|
| https://github.com/python/cpython/pull/4859/files#diff-5251b40283a63a061147a0ae32017c629d88a95d1c363d4e47f37b7969a4b0e3 |
| Lib/collections/__init__.py | https://github.com/python/cpython/pull/4859/files#diff-c92f871cb9b4aa1583c89f82cd416d58a5d70fff41faf41e45dedf775dbe7713 |
|
View file
| https://github.com/rhettinger/cpython/blob/f636dc5c6dd686d312acf48e26caa03f966f88fd/Lib/collections/__init__.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4859/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4859/files#diff-c92f871cb9b4aa1583c89f82cd416d58a5d70fff41faf41e45dedf775dbe7713 |
|
| https://github.com/python/cpython/pull/4859/files#diff-c92f871cb9b4aa1583c89f82cd416d58a5d70fff41faf41e45dedf775dbe7713 |
|
| https://github.com/python/cpython/pull/4859/files#diff-c92f871cb9b4aa1583c89f82cd416d58a5d70fff41faf41e45dedf775dbe7713 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Dec 14, 2017 | https://github.com/python/cpython/pull/4859/files#r156916951 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4859/files |
| rhettinger | https://github.com/rhettinger |
| Jan 11, 2018 | https://github.com/python/cpython/pull/4859/files#r160867213 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4859/files |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Jan 11, 2018 | https://github.com/python/cpython/pull/4859/files#r160884155 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4859/files |
|
| https://github.com/python/cpython/pull/4859/files#diff-c92f871cb9b4aa1583c89f82cd416d58a5d70fff41faf41e45dedf775dbe7713 |
|
| https://github.com/python/cpython/pull/4859/files#diff-c92f871cb9b4aa1583c89f82cd416d58a5d70fff41faf41e45dedf775dbe7713 |
|
| https://github.com/python/cpython/pull/4859/files#diff-c92f871cb9b4aa1583c89f82cd416d58a5d70fff41faf41e45dedf775dbe7713 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Dec 14, 2017 | https://github.com/python/cpython/pull/4859/files#r156915529 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4859/files |
| rhettinger | https://github.com/rhettinger |
| Jan 11, 2018 | https://github.com/python/cpython/pull/4859/files#r160867354 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4859/files |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Jan 11, 2018 | https://github.com/python/cpython/pull/4859/files#r160884442 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4859/files |
|
| https://github.com/python/cpython/pull/4859/files#diff-c92f871cb9b4aa1583c89f82cd416d58a5d70fff41faf41e45dedf775dbe7713 |
| asottile | https://github.com/asottile |
| Dec 14, 2017 | https://github.com/python/cpython/pull/4859/files#r157005007 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4859/files |
| rhettinger | https://github.com/rhettinger |
| Jan 11, 2018 | https://github.com/python/cpython/pull/4859/files#r160868004 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4859/files |
|
| https://github.com/python/cpython/pull/4859/files#diff-c92f871cb9b4aa1583c89f82cd416d58a5d70fff41faf41e45dedf775dbe7713 |
|
| https://github.com/python/cpython/pull/4859/files#diff-c92f871cb9b4aa1583c89f82cd416d58a5d70fff41faf41e45dedf775dbe7713 |
|
| https://github.com/python/cpython/pull/4859/files#diff-c92f871cb9b4aa1583c89f82cd416d58a5d70fff41faf41e45dedf775dbe7713 |
| Lib/test/test_collections.py | https://github.com/python/cpython/pull/4859/files#diff-a2a882635e20e8e9439f090d33513502a7af648286efebfa4e4bc37270c44784 |
|
View file
| https://github.com/rhettinger/cpython/blob/f636dc5c6dd686d312acf48e26caa03f966f88fd/Lib/test/test_collections.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4859/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/4859/files#diff-a2a882635e20e8e9439f090d33513502a7af648286efebfa4e4bc37270c44784 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Dec 14, 2017 | https://github.com/python/cpython/pull/4859/files#r156918217 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4859/files |
| rhettinger | https://github.com/rhettinger |
| Jan 11, 2018 | https://github.com/python/cpython/pull/4859/files#r160867570 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4859/files |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Dec 14, 2017 | https://github.com/python/cpython/pull/4859/files#r156917898 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4859/files |
| rhettinger | https://github.com/rhettinger |
| Jan 11, 2018 | https://github.com/python/cpython/pull/4859/files#r160867915 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/4859/files |
|
| https://github.com/python/cpython/pull/4859/files#diff-a2a882635e20e8e9439f090d33513502a7af648286efebfa4e4bc37270c44784 |
| Misc/NEWS.d/next/Library/2017-12-14-01-36-25.bpo-32320.jwOZlr.rst | https://github.com/python/cpython/pull/4859/files#diff-978b6d0e68e77014ec882515061ea0e971c84b8639f7ca23a74e38d9df41457b |
|
View file
| https://github.com/rhettinger/cpython/blob/f636dc5c6dd686d312acf48e26caa03f966f88fd/Misc/NEWS.d/next/Library/2017-12-14-01-36-25.bpo-32320.jwOZlr.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/4859/{{ 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 |