René's URL Explorer Experiment


Title: [3.7] bpo-33109: argparse subparsers are once again not required by default (GH-6919) by miss-islington · Pull Request #7089 · python/cpython · GitHub

Open Graph Title: [3.7] bpo-33109: argparse subparsers are once again not required by default (GH-6919) by miss-islington · Pull Request #7089 · python/cpython

X Title: [3.7] bpo-33109: argparse subparsers are once again not required by default (GH-6919) by miss-islington · Pull Request #7089 · python/cpython

Description: bpo-26510 in 3.7.0a2 changed the behavior of argparse to make subparsers required by default, returning to the behavior of 2.7 and 3.2. The behavior was changed in 3.3 to be no longer required. While it might make more sense to have the default to required, compatibility with 3.3 through 3.6 is probably less disruptive than trying to reintroduce compatibility with 2.7 at this point. This change restores the 3.6 behavior. (cherry picked from commit 8ebf5ce) Co-authored-by: Ned Deily nad@python.org https://bugs.python.org/issue33109

Open Graph Description: bpo-26510 in 3.7.0a2 changed the behavior of argparse to make subparsers required by default, returning to the behavior of 2.7 and 3.2. The behavior was changed in 3.3 to be no longer required. Whi...

X Description: bpo-26510 in 3.7.0a2 changed the behavior of argparse to make subparsers required by default, returning to the behavior of 2.7 and 3.2. The behavior was changed in 3.3 to be no longer required. Whi...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:d5c7bafd-04bf-fc55-70cb-b5f23e4fe389
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB9E2:37E3D3:6080169:8763328:6A500FC3
html-safe-nonceea1e73baa44b406666439fca7d6e99ccf2485e3ab02fdc495971ea5938437859
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUUyOjM3RTNEMzo2MDgwMTY5Ojg3NjMzMjg6NkE1MDBGQzMiLCJ2aXNpdG9yX2lkIjoiNDgxMjc4NzY2NzU5Mzg1OTAxMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1be42cdaf21ca53de47c005d17e7867bf8f810cc749fa7dde64402f48c0caf50
hovercard-subject-tagpull_request:190149628
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/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/7089/files
twitter:imagehttps://avatars.githubusercontent.com/u/31488909?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/31488909?s=400&v=4
og:image:altbpo-26510 in 3.7.0a2 changed the behavior of argparse to make subparsers required by default, returning to the behavior of 2.7 and 3.2. The behavior was changed in 3.3 to be no longer required. Whi...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonefe4f38b24922a1ce81c1708c3793b47c185599b9144ab94f6ca846b00698058d
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release42b6390c91978a16f9196c38c7a00e9bf21f37e7
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/7089/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F7089%2Ffiles
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/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/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/enterprise/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%2F7089%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
Reloadhttps://github.com/python/cpython/pull/7089/files
Reloadhttps://github.com/python/cpython/pull/7089/files
Reloadhttps://github.com/python/cpython/pull/7089/files
Please reload this pagehttps://github.com/python/cpython/pull/7089/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/7089/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.9k 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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
ned-deilyhttps://github.com/ned-deily
python:3.7https://github.com/python/cpython/tree/3.7
miss-islington:backport-8ebf5ce-3.7https://github.com/miss-islington/cpython/tree/backport-8ebf5ce-3.7
Conversation 2 https://github.com/python/cpython/pull/7089
Commits 1 https://github.com/python/cpython/pull/7089/commits
Checks 0 https://github.com/python/cpython/pull/7089/checks
Files changed https://github.com/python/cpython/pull/7089/files
Please reload this pagehttps://github.com/python/cpython/pull/7089/files
[3.7] bpo-33109: argparse subparsers are once again not required by default (GH-6919) https://github.com/python/cpython/pull/7089/files#top
Show all changes 1 commit https://github.com/python/cpython/pull/7089/files
2538eb3 bpo-33109: argparse subparsers are once again not required by default… ned-deily May 24, 2018 https://github.com/python/cpython/pull/7089/commits/2538eb3df6082f5743bb8c8c52d0f462d9c80d6e
Clear filters https://github.com/python/cpython/pull/7089/files
Please reload this pagehttps://github.com/python/cpython/pull/7089/files
Please reload this pagehttps://github.com/python/cpython/pull/7089/files
argparse.rst https://github.com/python/cpython/pull/7089/files#diff-76a105efd5acb88546c093f1d7f5d22d1d7908060dc46aa3d7c4499142720ec7
argparse.py https://github.com/python/cpython/pull/7089/files#diff-205ef24c9374465bf35c359abce9211d3aa113e986a1e3d41569eb29d07df479
test_argparse.py https://github.com/python/cpython/pull/7089/files#diff-c7651634d84a017884451f95f6535a1d2efbeacee1cca7cc1e27fdc748804aa1
3.7.0a2.rst https://github.com/python/cpython/pull/7089/files#diff-74037ac06bfe34ec7706719d708554d8e5aa2ea197e25571054fed17d08a349a
2018-05-16-14-57-58.bpo-33109.nPLL_S.rst https://github.com/python/cpython/pull/7089/files#diff-4bc8e89f1629b6e69d872a32df2065b30795c274be1111f4052dbd4b67a34ab0
Doc/library/argparse.rsthttps://github.com/python/cpython/pull/7089/files#diff-76a105efd5acb88546c093f1d7f5d22d1d7908060dc46aa3d7c4499142720ec7
View file https://github.com/miss-islington/cpython/blob/2538eb3df6082f5743bb8c8c52d0f462d9c80d6e/Doc/library/argparse.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/7089/{{ revealButtonHref }}
https://github.com/python/cpython/pull/7089/files#diff-76a105efd5acb88546c093f1d7f5d22d1d7908060dc46aa3d7c4499142720ec7
https://github.com/python/cpython/pull/7089/files#diff-76a105efd5acb88546c093f1d7f5d22d1d7908060dc46aa3d7c4499142720ec7
Lib/argparse.pyhttps://github.com/python/cpython/pull/7089/files#diff-205ef24c9374465bf35c359abce9211d3aa113e986a1e3d41569eb29d07df479
View file https://github.com/miss-islington/cpython/blob/2538eb3df6082f5743bb8c8c52d0f462d9c80d6e/Lib/argparse.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/7089/{{ revealButtonHref }}
https://github.com/python/cpython/pull/7089/files#diff-205ef24c9374465bf35c359abce9211d3aa113e986a1e3d41569eb29d07df479
https://github.com/python/cpython/pull/7089/files#diff-205ef24c9374465bf35c359abce9211d3aa113e986a1e3d41569eb29d07df479
Lib/test/test_argparse.pyhttps://github.com/python/cpython/pull/7089/files#diff-c7651634d84a017884451f95f6535a1d2efbeacee1cca7cc1e27fdc748804aa1
View file https://github.com/miss-islington/cpython/blob/2538eb3df6082f5743bb8c8c52d0f462d9c80d6e/Lib/test/test_argparse.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/7089/{{ revealButtonHref }}
https://github.com/python/cpython/pull/7089/files#diff-c7651634d84a017884451f95f6535a1d2efbeacee1cca7cc1e27fdc748804aa1
https://github.com/python/cpython/pull/7089/files#diff-c7651634d84a017884451f95f6535a1d2efbeacee1cca7cc1e27fdc748804aa1
Misc/NEWS.d/3.7.0a2.rsthttps://github.com/python/cpython/pull/7089/files#diff-74037ac06bfe34ec7706719d708554d8e5aa2ea197e25571054fed17d08a349a
View file https://github.com/miss-islington/cpython/blob/2538eb3df6082f5743bb8c8c52d0f462d9c80d6e/Misc/NEWS.d/3.7.0a2.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/7089/{{ revealButtonHref }}
https://github.com/python/cpython/pull/7089/files#diff-74037ac06bfe34ec7706719d708554d8e5aa2ea197e25571054fed17d08a349a
https://github.com/python/cpython/pull/7089/files#diff-74037ac06bfe34ec7706719d708554d8e5aa2ea197e25571054fed17d08a349a
Misc/NEWS.d/next/Library/2018-05-16-14-57-58.bpo-33109.nPLL_S.rsthttps://github.com/python/cpython/pull/7089/files#diff-4bc8e89f1629b6e69d872a32df2065b30795c274be1111f4052dbd4b67a34ab0
View file https://github.com/miss-islington/cpython/blob/2538eb3df6082f5743bb8c8c52d0f462d9c80d6e/Misc/NEWS.d/next/Library/2018-05-16-14-57-58.bpo-33109.nPLL_S.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/7089/{{ revealButtonHref }}
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.