René's URL Explorer Experiment


Title: gh-91038: Change default argument value to `False` instead of `0` by Rotzbua · Pull Request #31621 · python/cpython · GitHub

Open Graph Title: gh-91038: Change default argument value to `False` instead of `0` by Rotzbua · Pull Request #31621 · python/cpython

X Title: gh-91038: Change default argument value to `False` instead of `0` by Rotzbua · Pull Request #31621 · python/cpython

Description: The argument is used as a switch and corresponds to a boolean logic. Therefore it is more intuitive to use the corresponding constant False as default value instead of the integer 0. https://bugs...

Open Graph Description: The argument is used as a switch and corresponds to a boolean logic. Therefore it is more intuitive to use the corresponding constant False as default value instead of the integer 0. https://bugs...

X Description: The argument is used as a switch and corresponds to a boolean logic. Therefore it is more intuitive to use the corresponding constant False as default value instead of the integer 0. https://bugs...

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

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:ceae0146-fb80-5d98-5264-44b755be3656
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC358:3B18F:138A1C9:1AFA5E8:6969FC70
html-safe-nonce8ef657d808188a686de6087fdc17c3bf4cd8177a5795560fa921f561d361e3f9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzU4OjNCMThGOjEzOEExQzk6MUFGQTVFODo2OTY5RkM3MCIsInZpc2l0b3JfaWQiOiIzMTkzMzEwNTMxMzk2Njk3MjAwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac43e1f7850d749ed8b7b39a8d309e3816cb2f426a5e0e05d23c8ef452d32be626
hovercard-subject-tagpull_request:867072899
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/31621/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2c495f18eebde78ad9f72763e889db0b119623064899750a970dc85d7c2ba811/python/cpython/pull/31621
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2c495f18eebde78ad9f72763e889db0b119623064899750a970dc85d7c2ba811/python/cpython/pull/31621
og:image:altThe argument is used as a switch and corresponds to a boolean logic. Therefore it is more intuitive to use the corresponding constant False as default value instead of the integer 0. https://bugs...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameRotzbua
hostnamegithub.com
expected-hostnamegithub.com
None7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8
turbo-cache-controlno-preview
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
releasebdde15ad1b403e23b08bbd89b53fbe6bdf688cad
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/31621#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F31621
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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%2F31621
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/31621
Reloadhttps://github.com/python/cpython/pull/31621
Reloadhttps://github.com/python/cpython/pull/31621
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/31621
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k 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.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/31621
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 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
Jump to bottomhttps://github.com/python/cpython/pull/31621#issue-comment-box
JelleZijlstrahttps://github.com/JelleZijlstra
python:mainhttps://github.com/python/cpython/tree/main
Rotzbua:change_default_value_platform_platformhttps://github.com/Rotzbua/cpython/tree/change_default_value_platform_platform
gh-91038: Change default argument value to False instead of 0 https://github.com/python/cpython/pull/31621#top
JelleZijlstrahttps://github.com/JelleZijlstra
python:mainhttps://github.com/python/cpython/tree/main
Rotzbua:change_default_value_platform_platformhttps://github.com/Rotzbua/cpython/tree/change_default_value_platform_platform
Conversation 4 https://github.com/python/cpython/pull/31621
Commits 3 https://github.com/python/cpython/pull/31621/commits
Checks 0 https://github.com/python/cpython/pull/31621/checks
Files changed 3 https://github.com/python/cpython/pull/31621/files
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/Rotzbua
Rotzbuahttps://github.com/Rotzbua
Feb 28, 2022https://github.com/python/cpython/pull/31621#issue-1154419565
Please reload this pagehttps://github.com/python/cpython/pull/31621
https://bugs.python.org/issue46882https://bugs.python.org/issue46882
Clarify argument type of platform.platform(aliased, terse) to boolean #91038https://github.com/python/cpython/issues/91038
Please reload this pagehttps://github.com/python/cpython/pull/31621
https://github.com/Rotzbua
Change default argument value to False instead of 0https://github.com/python/cpython/pull/31621/commits/513d84d621eee9ca41f867004cf308fed6bea873
513d84dhttps://github.com/python/cpython/pull/31621/commits/513d84d621eee9ca41f867004cf308fed6bea873
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Feb 28, 2022https://github.com/python/cpython/pull/31621#event-6156734460
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
Feb 28, 2022https://github.com/python/cpython/pull/31621#event-6156734485
https://github.com/ezio-melotti
ezio-melottihttps://github.com/ezio-melotti
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Jul 13, 2022https://github.com/python/cpython/pull/31621#event-6988864997
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Oct 6, 2022https://github.com/python/cpython/pull/31621#event-7529333218
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Oct 6, 2022 https://github.com/python/cpython/pull/31621#pullrequestreview-1132175372
View reviewed changes https://github.com/python/cpython/pull/31621/files/513d84d621eee9ca41f867004cf308fed6bea873
JelleZijlstrahttps://github.com/JelleZijlstra
https://github.com/python/cpython/pull/31621#pullrequestreview-1132175372
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/31621
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Oct 6, 2022https://github.com/python/cpython/pull/31621#event-7529334975
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Oct 6, 2022https://github.com/python/cpython/pull/31621#issuecomment-1269136491
Please reload this pagehttps://github.com/python/cpython/pull/31621
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
Oct 6, 2022https://github.com/python/cpython/pull/31621#event-7529335007
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Oct 6, 2022 https://github.com/python/cpython/pull/31621#ref-pullrequest-1154162393
bpo-46882: Clarify argument type of platform.platform(aliased, terse) to boolean #31617 https://github.com/python/cpython/pull/31617
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Nov 12, 2022https://github.com/python/cpython/pull/31621#event-7795752456
https://github.com/hauntsaninja
Merge branch 'main' into change_default_value_platform_platformhttps://github.com/python/cpython/pull/31621/commits/938242478998613202abe9222174b321bedcb7e5
9382424https://github.com/python/cpython/pull/31621/commits/938242478998613202abe9222174b321bedcb7e5
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Feb 26, 2023https://github.com/python/cpython/pull/31621#issuecomment-1445232107
require a NEWS entryhttps://devguide.python.org/committing/#updating-news-and-what-s-new-in-python
blurb_ithttps://blurb-it.herokuapp.com
blurbhttps://pypi.org/project/blurb/
Please reload this pagehttps://github.com/python/cpython/pull/31621
https://github.com/arhadthedev
arhadthedevhttps://github.com/arhadthedev
Feb 26, 2023https://github.com/python/cpython/pull/31621#event-8609122873
https://github.com/arhadthedev
arhadthedevhttps://github.com/arhadthedev
docs https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Adocs
stdlib https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astdlib
Feb 26, 2023https://github.com/python/cpython/pull/31621#event-8609123719
https://github.com/arhadthedev
Add a news entryhttps://github.com/python/cpython/pull/31621/commits/5de86ddc3d2dd89ac244d2a297423d75b824c448
5de86ddhttps://github.com/python/cpython/pull/31621/commits/5de86ddc3d2dd89ac244d2a297423d75b824c448
https://github.com/arhadthedev
arhadthedevhttps://github.com/arhadthedev
JelleZijlstrahttps://github.com/JelleZijlstra
February 26, 2023 08:38https://github.com/python/cpython/pull/31621#event-8609127124
https://github.com/arhadthedev
arhadthedevhttps://github.com/arhadthedev
Feb 26, 2023https://github.com/python/cpython/pull/31621#issuecomment-1445299718
@JelleZijlstrahttps://github.com/JelleZijlstra
Please reload this pagehttps://github.com/python/cpython/pull/31621
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
Feb 27, 2023 https://github.com/python/cpython/pull/31621#pullrequestreview-1314799975
View reviewed changes https://github.com/python/cpython/pull/31621/files/5de86ddc3d2dd89ac244d2a297423d75b824c448
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
awaiting changes https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22
Feb 27, 2023https://github.com/python/cpython/pull/31621#event-8610811282
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
f3cb15chttps://github.com/python/cpython/commit/f3cb15c88afa2e87067de3c6106664b3f7cd4035
Feb 27, 2023https://github.com/python/cpython/pull/31621#event-8610812478
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
Feb 27, 2023https://github.com/python/cpython/pull/31621#event-8610812727
https://github.com/python/cpython/pull/31621
Rotzbuahttps://github.com/python/cpython/pull/31621
Apr 10, 2022 https://github.com/python/cpython/pull/31621#ref-issue-1199076172
Clarify argument type of platform.platform(aliased, terse) to boolean #91038 https://github.com/python/cpython/issues/91038
carljmhttps://github.com/carljm
Feb 28, 2023 https://github.com/python/cpython/pull/31621#ref-commit-73dc0ed
https://github.com/carljm
Merge branch 'main' into inlinecomp2https://github.com/carljm/cpython/commit/73dc0ed4b87abcdb4b07f8c56b875636e6807b43
73dc0edhttps://github.com/carljm/cpython/commit/73dc0ed4b87abcdb4b07f8c56b875636e6807b43
pythongh-99108https://github.com/python/cpython/issues/99108
python#102308https://github.com/python/cpython/pull/102308
pythongh-100227https://github.com/python/cpython/issues/100227
pythongh-102333https://github.com/python/cpython/pull/102333
pythongh-100227https://github.com/python/cpython/issues/100227
pythongh-102331https://github.com/python/cpython/pull/102331
pythonGH-102305https://github.com/python/cpython/issues/102305
python#102309https://github.com/python/cpython/pull/102309
python#102284https://github.com/python/cpython/pull/102284
pythongh-102192https://github.com/python/cpython/issues/102192
python#102193https://github.com/python/cpython/pull/102193
pythonGH-90744https://github.com/python/cpython/issues/90744
python#101319https://github.com/python/cpython/pull/101319
pythongh-87092https://github.com/python/cpython/issues/87092
python#102093https://github.com/python/cpython/pull/102093
pythongh-101101https://github.com/python/cpython/issues/101101
pythonGH-101102https://github.com/python/cpython/pull/101102
python#101371https://github.com/python/cpython/pull/101371
pythongh-101561https://github.com/python/cpython/issues/101561
python#101564https://github.com/python/cpython/pull/101564
pythongh-101825https://github.com/python/cpython/issues/101825
python#101843https://github.com/python/cpython/pull/101843
pythongh-101773https://github.com/python/cpython/issues/101773
python#101780https://github.com/python/cpython/pull/101780
pythongh-102251https://github.com/python/cpython/issues/102251
pythongh-102254https://github.com/python/cpython/pull/102254
pythongh-102296https://github.com/python/cpython/issues/102296
pythonGH-102297https://github.com/python/cpython/pull/102297
pythongh-102250https://github.com/python/cpython/issues/102250
pythonGH-102287https://github.com/python/cpython/pull/102287
pythongh-101100https://github.com/python/cpython/issues/101100
python#102274https://github.com/python/cpython/pull/102274
pythongh-91038https://github.com/python/cpython/issues/91038
python#31621https://github.com/python/cpython/pull/31621
pythongh-101765https://github.com/python/cpython/issues/101765
python#102283https://github.com/python/cpython/pull/102283
pythonGH-102060https://github.com/python/cpython/pull/102060
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%2F31621
https://github.com/JelleZijlstra
JelleZijlstra https://github.com/JelleZijlstra
https://github.com/python/cpython/pull/31621/files/5de86ddc3d2dd89ac244d2a297423d75b824c448
docs https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Adocs
stdlib https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Astdlib
Please reload this pagehttps://github.com/python/cpython/pull/31621
https://github.com/Rotzbua
https://github.com/bedevere-bot
https://github.com/arhadthedev
https://github.com/JelleZijlstra
https://github.com/the-knights-who-say-ni
https://github.com/ezio-melotti
https://github.com/hauntsaninja
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.