René's URL Explorer Experiment


Title: bpo-32320: Add default value support to collections.namedtuple() by rhettinger · Pull Request #4859 · python/cpython · GitHub

Open Graph Title: bpo-32320: Add default value support to collections.namedtuple() by rhettinger · Pull Request #4859 · python/cpython

X Title: bpo-32320: Add default value support to collections.namedtuple() by rhettinger · Pull Request #4859 · python/cpython

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

Open Graph Description: https://bugs.python.org/issue32320

X Description: https://bugs.python.org/issue32320

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

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:6bae024a-acb8-211d-f0c4-a365cbb70ea2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC43C:89EF1:E0C59B:12F164B:6A4D80D0
html-safe-nonce9235cd85211f6ba0412001c79f66a0dc5f115ead1ef658780b92a222fdee7537
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDNDOjg5RUYxOkUwQzU5QjoxMkYxNjRCOjZBNEQ4MEQwIiwidmlzaXRvcl9pZCI6IjE1MjA5OTg4NTUwMzc3ODAxNzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf02a1c5770e83f93289291ba79ac81eee49a3c33f4ded09eea2c082b9139b4a8
hovercard-subject-tagpull_request:158298026
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/4859/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4cb165d42e65aad9b7a93d2204d18586b5a3746add7fb5a718b821d117a11c1a/python/cpython/pull/4859
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4cb165d42e65aad9b7a93d2204d18586b5a3746add7fb5a718b821d117a11c1a/python/cpython/pull/4859
og:image:althttps://bugs.python.org/issue32320
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerhettinger
hostnamegithub.com
expected-hostnamegithub.com
Nonec6bf61c909482ec3072ef5d7a5a28f2a9d214788c9a44793eca1960048cb05ae
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
release6702a58b419a792226bd21ef0fb1bcb318bbcaa3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/4859#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F4859
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/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/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/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%2F4859
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/4859
Reloadhttps://github.com/python/cpython/pull/4859
Reloadhttps://github.com/python/cpython/pull/4859
Please reload this pagehttps://github.com/python/cpython/pull/4859
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/4859
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
rhettingerhttps://github.com/rhettinger
python:masterhttps://github.com/python/cpython/tree/master
rhettinger:nt_defaultshttps://github.com/rhettinger/cpython/tree/nt_defaults
Conversationhttps://github.com/python/cpython/pull/4859
Commits4 (4)https://github.com/python/cpython/pull/4859/commits
Checkshttps://github.com/python/cpython/pull/4859/checks
Files changedhttps://github.com/python/cpython/pull/4859/files
bpo-32320: Add default value support to collections.namedtuple()https://github.com/python/cpython/pull/4859#top
rhettingerhttps://github.com/rhettinger
python:masterhttps://github.com/python/cpython/tree/master
rhettinger:nt_defaultshttps://github.com/rhettinger/cpython/tree/nt_defaults
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
Dec 14, 2017https://github.com/python/cpython/pull/4859#issue-282022673
Please reload this pagehttps://github.com/python/cpython/pull/4859
https://bugs.python.org/issue32320https://bugs.python.org/issue32320
Please reload this pagehttps://github.com/python/cpython/pull/4859
rhettingerhttps://github.com/rhettinger
December 13, 2017 23:15https://github.com/python/cpython/pull/4859#commits-pushed-a5da93c
https://github.com/rhettinger
Add defaults values.https://github.com/python/cpython/pull/4859/commits/a5da93cd6be38e20c1eb2f950e01e5b7f6787efe
a5da93chttps://github.com/python/cpython/pull/4859/commits/a5da93cd6be38e20c1eb2f950e01e5b7f6787efe
https://github.com/rhettinger
Add _fields_defaults attribute and documentation.https://github.com/python/cpython/pull/4859/commits/b18377c6837be2a936eca70b86d616b8b332100c
b18377chttps://github.com/python/cpython/pull/4859/commits/b18377c6837be2a936eca70b86d616b8b332100c
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
type-feature https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature
Dec 14, 2017https://github.com/python/cpython/pull/4859#event-1387227089
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
serhiy-storchakahttps://github.com/serhiy-storchaka
December 14, 2017 08:47https://github.com/python/cpython/pull/4859#event-1387227093
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Dec 14, 2017https://github.com/python/cpython/pull/4859#event-1387227139
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Dec 14, 2017https://github.com/python/cpython/pull/4859#event-1387227142
https://github.com/rhettinger
Add news blurbhttps://github.com/python/cpython/pull/4859/commits/57f6f143e23b9d8754e6cb2c0c276d945eb30a2a
57f6f14https://github.com/python/cpython/pull/4859/commits/57f6f143e23b9d8754e6cb2c0c276d945eb30a2a
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Dec 14, 2017 https://github.com/python/cpython/pull/4859#pullrequestreview-83465005
View reviewed changes https://github.com/python/cpython/pull/4859/files/57f6f143e23b9d8754e6cb2c0c276d945eb30a2a
Doc/library/collections.rsthttps://github.com/python/cpython/pull/4859/files/57f6f143e23b9d8754e6cb2c0c276d945eb30a2a#diff-5251b40283a63a061147a0ae32017c629d88a95d1c363d4e47f37b7969a4b0e3
serhiy-storchakahttps://github.com/serhiy-storchaka
Dec 14, 2017https://github.com/python/cpython/pull/4859#discussion_r156912397
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4859
rhettingerhttps://github.com/rhettinger
Jan 11, 2018https://github.com/python/cpython/pull/4859#discussion_r160865951
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4859
serhiy-storchakahttps://github.com/serhiy-storchaka
Jan 11, 2018https://github.com/python/cpython/pull/4859#discussion_r160883332
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4859
Doc/library/collections.rsthttps://github.com/python/cpython/pull/4859/files/57f6f143e23b9d8754e6cb2c0c276d945eb30a2a#diff-5251b40283a63a061147a0ae32017c629d88a95d1c363d4e47f37b7969a4b0e3
serhiy-storchakahttps://github.com/serhiy-storchaka
Dec 14, 2017https://github.com/python/cpython/pull/4859#discussion_r156913534
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4859
rhettingerhttps://github.com/rhettinger
Jan 11, 2018https://github.com/python/cpython/pull/4859#discussion_r160866090
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4859
Lib/collections/__init__.pyhttps://github.com/python/cpython/pull/4859/files/57f6f143e23b9d8754e6cb2c0c276d945eb30a2a#diff-c92f871cb9b4aa1583c89f82cd416d58a5d70fff41faf41e45dedf775dbe7713
serhiy-storchakahttps://github.com/serhiy-storchaka
Dec 14, 2017https://github.com/python/cpython/pull/4859#discussion_r156915529
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4859
rhettingerhttps://github.com/rhettinger
Jan 11, 2018https://github.com/python/cpython/pull/4859#discussion_r160867354
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4859
serhiy-storchakahttps://github.com/serhiy-storchaka
Jan 11, 2018https://github.com/python/cpython/pull/4859#discussion_r160884442
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4859
Lib/collections/__init__.pyhttps://github.com/python/cpython/pull/4859/files/57f6f143e23b9d8754e6cb2c0c276d945eb30a2a#diff-c92f871cb9b4aa1583c89f82cd416d58a5d70fff41faf41e45dedf775dbe7713
serhiy-storchakahttps://github.com/serhiy-storchaka
Dec 14, 2017https://github.com/python/cpython/pull/4859#discussion_r156916951
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4859
rhettingerhttps://github.com/rhettinger
Jan 11, 2018https://github.com/python/cpython/pull/4859#discussion_r160867213
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4859
serhiy-storchakahttps://github.com/serhiy-storchaka
Jan 11, 2018https://github.com/python/cpython/pull/4859#discussion_r160884155
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4859
Lib/test/test_collections.pyhttps://github.com/python/cpython/pull/4859/files/57f6f143e23b9d8754e6cb2c0c276d945eb30a2a#diff-a2a882635e20e8e9439f090d33513502a7af648286efebfa4e4bc37270c44784
serhiy-storchakahttps://github.com/serhiy-storchaka
Dec 14, 2017https://github.com/python/cpython/pull/4859#discussion_r156917477
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4859
rhettingerhttps://github.com/rhettinger
Jan 11, 2018https://github.com/python/cpython/pull/4859#discussion_r160867808
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4859
Lib/test/test_collections.pyhttps://github.com/python/cpython/pull/4859/files/57f6f143e23b9d8754e6cb2c0c276d945eb30a2a#diff-a2a882635e20e8e9439f090d33513502a7af648286efebfa4e4bc37270c44784
serhiy-storchakahttps://github.com/serhiy-storchaka
Dec 14, 2017https://github.com/python/cpython/pull/4859#discussion_r156917898
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4859
rhettingerhttps://github.com/rhettinger
Jan 11, 2018https://github.com/python/cpython/pull/4859#discussion_r160867915
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4859
Lib/test/test_collections.pyhttps://github.com/python/cpython/pull/4859/files/57f6f143e23b9d8754e6cb2c0c276d945eb30a2a#diff-a2a882635e20e8e9439f090d33513502a7af648286efebfa4e4bc37270c44784
serhiy-storchakahttps://github.com/serhiy-storchaka
Dec 14, 2017https://github.com/python/cpython/pull/4859#discussion_r156918217
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4859
rhettingerhttps://github.com/rhettinger
Jan 11, 2018https://github.com/python/cpython/pull/4859#discussion_r160867570
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4859
https://github.com/asottile
asottilehttps://github.com/asottile
Dec 14, 2017 https://github.com/python/cpython/pull/4859#pullrequestreview-83576784
View reviewed changes https://github.com/python/cpython/pull/4859/files/57f6f143e23b9d8754e6cb2c0c276d945eb30a2a
asottilehttps://github.com/asottile
https://github.com/python/cpython/pull/4859#pullrequestreview-83576784
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://github.com/pre-commit/pre-commit/blob/a543190f7b40fb7e2e783eb6a09669360b133669/pre_commit/envcontext.py#L12-L13https://github.com/pre-commit/pre-commit/blob/a543190f7b40fb7e2e783eb6a09669360b133669/pre_commit/envcontext.py#L12-L13
Please reload this pagehttps://github.com/python/cpython/pull/4859
Lib/collections/__init__.pyhttps://github.com/python/cpython/pull/4859/files/57f6f143e23b9d8754e6cb2c0c276d945eb30a2a#diff-c92f871cb9b4aa1583c89f82cd416d58a5d70fff41faf41e45dedf775dbe7713
asottilehttps://github.com/asottile
Dec 14, 2017https://github.com/python/cpython/pull/4859#discussion_r157005007
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4859
rhettingerhttps://github.com/rhettinger
Jan 11, 2018https://github.com/python/cpython/pull/4859#discussion_r160868004
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/4859
https://github.com/rhettinger
Add more tests and another examplehttps://github.com/python/cpython/pull/4859/commits/f636dc5c6dd686d312acf48e26caa03f966f88fd
f636dc5https://github.com/python/cpython/pull/4859/commits/f636dc5c6dd686d312acf48e26caa03f966f88fd
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
3948207https://github.com/python/cpython/commit/3948207c610e931831828d33aaef258185df31db
Jan 11, 2018https://github.com/python/cpython/pull/4859#event-1419097654
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Jan 11, 2018https://github.com/python/cpython/pull/4859#event-1419097665
https://github.com/rhettinger
rhettingerhttps://github.com/rhettinger
January 11, 2018 05:45https://github.com/python/cpython/pull/4859#event-1419097736
https://github.com/ilevkivskyi
ilevkivskyihttps://github.com/ilevkivskyi
Mar 24, 2018 https://github.com/python/cpython/pull/4859#ref-issue-308286670
Support default values for collections.namedtuple? python/mypy#4788 https://github.com/python/mypy/issues/4788
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%2F4859
https://github.com/serhiy-storchaka
serhiy-storchaka https://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/4859/files/57f6f143e23b9d8754e6cb2c0c276d945eb30a2a
https://github.com/asottile
asottile https://github.com/asottile
https://github.com/python/cpython/pull/4859/files/57f6f143e23b9d8754e6cb2c0c276d945eb30a2a
type-feature https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature
Please reload this pagehttps://github.com/python/cpython/pull/4859
https://github.com/rhettinger
https://github.com/asottile
https://github.com/serhiy-storchaka
https://github.com/the-knights-who-say-ni
https://github.com/bedevere-bot
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.