René's URL Explorer Experiment


Title: bpo-24037: Add Argument Clinic converter `bool(accept={int})`. by serhiy-storchaka · Pull Request #485 · python/cpython · GitHub

Open Graph Title: bpo-24037: Add Argument Clinic converter `bool(accept={int})`. by serhiy-storchaka · Pull Request #485 · python/cpython

X Title: bpo-24037: Add Argument Clinic converter `bool(accept={int})`. by serhiy-storchaka · Pull Request #485 · python/cpython

Description: It is used for semantical booleans using 'i' format unit. This allows to not repeat the default value for Python and C and will help in converting to bool in future.

Open Graph Description: It is used for semantical booleans using 'i' format unit. This allows to not repeat the default value for Python and C and will help in converting to bool in future.

X Description: It is used for semantical booleans using 'i' format unit. This allows to not repeat the default value for Python and C and will help in converting to bool in future.

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:498af2b3-7d88-d43c-00fa-515411a9ef9e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id991E:43251:1C3771C:25972A0:6B0041FB
html-safe-nonce5259a310cafd0afb8047bd4666edcb8c435ccf154c7d4a9eb4eb839b5857c327
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTFFOjQzMjUxOjFDMzc3MUM6MjU5NzJBMDo2QjAwNDFGQiIsInZpc2l0b3JfaWQiOiIzMTA0NTA0NjQyNjcxOTA3NzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac10b1a99f217f214d6b3b974d46057e2f6afd39e81f101394d18e26da968e41f5
hovercard-subject-tagpull_request:109166914
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/485/files
twitter:imagehttps://avatars.githubusercontent.com/u/3659035?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/3659035?s=400&v=4
og:image:altIt is used for semantical booleans using 'i' format unit. This allows to not repeat the default value for Python and C and will help in converting to bool in future.
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0
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
releasef3f3a43ca095cdea3abbb394112e971f9fdb94fa
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/485/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F485%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F485%2Ffiles
Sign uphttps://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/485/files
Reloadhttps://github.com/python/cpython/pull/485/files
Reloadhttps://github.com/python/cpython/pull/485/files
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
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
serhiy-storchakahttps://github.com/serhiy-storchaka
python:masterhttps://github.com/python/cpython/tree/master
serhiy-storchaka:bpo-24037-clinic-boolint-converterhttps://github.com/serhiy-storchaka/cpython/tree/bpo-24037-clinic-boolint-converter
Conversation 2 https://github.com/python/cpython/pull/485
Commits 4 https://github.com/python/cpython/pull/485/commits
Checks 0 https://github.com/python/cpython/pull/485/checks
Files changed https://github.com/python/cpython/pull/485/files
Please reload this pagehttps://github.com/python/cpython/pull/485/files
bpo-24037: Add Argument Clinic converter bool(accept={int}). https://github.com/python/cpython/pull/485/files#top
Show all changes 4 commits https://github.com/python/cpython/pull/485/files
01dc143 bpo-24037: Add Argument Clinic converter `bool(accept={int})`. serhiy-storchaka Mar 5, 2017 https://github.com/python/cpython/pull/485/commits/01dc143710e27260a029e5c43fb31d2c9fa6fd26
f4a91c6 Merge remote-tracking branch 'upstream/master' into bpo-24037-clinic-… serhiy-storchaka Mar 11, 2017 https://github.com/python/cpython/pull/485/commits/f4a91c6365c1b82efb4e665c59b6e510857af38c
140fc46 Use `bool(accept={int})` in `list.sort()`. serhiy-storchaka Mar 11, 2017 https://github.com/python/cpython/pull/485/commits/140fc46cd6fcd442820fb174efa83b7caca980bb
0677212 Update NEWS serhiy-storchaka Mar 12, 2017 https://github.com/python/cpython/pull/485/commits/067721245072dbca8a73e0fb1b673aa034e2284c
Clear filters https://github.com/python/cpython/pull/485/files
Please reload this pagehttps://github.com/python/cpython/pull/485/files
Please reload this pagehttps://github.com/python/cpython/pull/485/files
NEWS https://github.com/python/cpython/pull/485/files#diff-f920da77b137d2e8eedf287c987745a3ff99c83d20a6332f656b35d12c479d10
_codecsmodule.c https://github.com/python/cpython/pull/485/files#diff-f367ec8524fd2576c9d33e0786dba76b077a0ce32ee7b06a90e7bfd7534aea09
_iomodule.c https://github.com/python/cpython/pull/485/files#diff-0501b143a2f566e8a760abc20a88fd2533b1f230e5322831f400a0263b8c0253
fileio.c https://github.com/python/cpython/pull/485/files#diff-0e6b2d89502ce959c45fa74328f04a45c2e0a23c12a1e1e15dad754e96463322
textio.c https://github.com/python/cpython/pull/485/files#diff-f6d1380274f6859688c821fced58fb1c829d8acad44ae252ba988e220e1080b3
winconsoleio.c https://github.com/python/cpython/pull/485/files#diff-463599eb2f67c89107a6fc2431d387fef7fdbb8c860b2c424477ca9b9794282c
_tkinter.c https://github.com/python/cpython/pull/485/files#diff-e22af16a12488bb5478ce31dcf26da13ba5a95e051b2440a740ab6bc4ab0c4fd
_winapi.c https://github.com/python/cpython/pull/485/files#diff-42415407f8d0ef2d42e29d13d979f633e3543770e62c3871e1101ad532d336a8
binascii.c https://github.com/python/cpython/pull/485/files#diff-ba5e0c9b1d3a07e484b80157530df909d6cbc13e479e464e9fe0e7744822653c
multibytecodec.c https://github.com/python/cpython/pull/485/files#diff-bc8499ed0d5bebcd8e193fed4430a5d4ac73fa49ce155cf2e6937faf39911d4f
pyexpat.c https://github.com/python/cpython/pull/485/files#diff-0534aca0d881f2dd1100e875602f98da60bf20ce127564896dc1e8a92a6fad2c
bytearrayobject.c https://github.com/python/cpython/pull/485/files#diff-6878f29bbfb711dc7cd2a89b2b2941b1f900b6367d30181a2ff45460b591b04c
bytesobject.c https://github.com/python/cpython/pull/485/files#diff-f6d440aad34e1c4535c0d898c0197a95490766c745991caace6f64b5dd1ece51
listobject.c https://github.com/python/cpython/pull/485/files#diff-67a42c5c0990c7aceea040ffc07905299aab97d64dc49adb256f85340b2c7e81
unicodeobject.c https://github.com/python/cpython/pull/485/files#diff-34c966e7876d6f8bf801dd51896327e4f68bba02cddb95fbf3963f0b2e39c38a
bltinmodule.c https://github.com/python/cpython/pull/485/files#diff-e4fd8b8ee6a147f86c0719ff122aca6dfca36edbd4812c87892698b3b72e40a1
clinic.py https://github.com/python/cpython/pull/485/files#diff-4c6b55ec7d80a3d60f100ce230eb879d9acbe2e558e01d318960e6197d7c47b3
Misc/NEWShttps://github.com/python/cpython/pull/485/files#diff-f920da77b137d2e8eedf287c987745a3ff99c83d20a6332f656b35d12c479d10
View file https://github.com/serhiy-storchaka/cpython/blob/067721245072dbca8a73e0fb1b673aa034e2284c/Misc/NEWS
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/485/{{ revealButtonHref }}
https://github.com/python/cpython/pull/485/files#diff-f920da77b137d2e8eedf287c987745a3ff99c83d20a6332f656b35d12c479d10
https://github.com/python/cpython/pull/485/files#diff-f920da77b137d2e8eedf287c987745a3ff99c83d20a6332f656b35d12c479d10
Modules/_codecsmodule.chttps://github.com/python/cpython/pull/485/files#diff-f367ec8524fd2576c9d33e0786dba76b077a0ce32ee7b06a90e7bfd7534aea09
View file https://github.com/serhiy-storchaka/cpython/blob/067721245072dbca8a73e0fb1b673aa034e2284c/Modules/_codecsmodule.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/485/{{ revealButtonHref }}
https://github.com/python/cpython/pull/485/files#diff-f367ec8524fd2576c9d33e0786dba76b077a0ce32ee7b06a90e7bfd7534aea09
https://github.com/python/cpython/pull/485/files#diff-f367ec8524fd2576c9d33e0786dba76b077a0ce32ee7b06a90e7bfd7534aea09
https://github.com/python/cpython/pull/485/files#diff-f367ec8524fd2576c9d33e0786dba76b077a0ce32ee7b06a90e7bfd7534aea09
https://github.com/python/cpython/pull/485/files#diff-f367ec8524fd2576c9d33e0786dba76b077a0ce32ee7b06a90e7bfd7534aea09
https://github.com/python/cpython/pull/485/files#diff-f367ec8524fd2576c9d33e0786dba76b077a0ce32ee7b06a90e7bfd7534aea09
https://github.com/python/cpython/pull/485/files#diff-f367ec8524fd2576c9d33e0786dba76b077a0ce32ee7b06a90e7bfd7534aea09
https://github.com/python/cpython/pull/485/files#diff-f367ec8524fd2576c9d33e0786dba76b077a0ce32ee7b06a90e7bfd7534aea09
https://github.com/python/cpython/pull/485/files#diff-f367ec8524fd2576c9d33e0786dba76b077a0ce32ee7b06a90e7bfd7534aea09
https://github.com/python/cpython/pull/485/files#diff-f367ec8524fd2576c9d33e0786dba76b077a0ce32ee7b06a90e7bfd7534aea09
https://github.com/python/cpython/pull/485/files#diff-f367ec8524fd2576c9d33e0786dba76b077a0ce32ee7b06a90e7bfd7534aea09
https://github.com/python/cpython/pull/485/files#diff-f367ec8524fd2576c9d33e0786dba76b077a0ce32ee7b06a90e7bfd7534aea09
https://github.com/python/cpython/pull/485/files#diff-f367ec8524fd2576c9d33e0786dba76b077a0ce32ee7b06a90e7bfd7534aea09
https://github.com/python/cpython/pull/485/files#diff-f367ec8524fd2576c9d33e0786dba76b077a0ce32ee7b06a90e7bfd7534aea09
https://github.com/python/cpython/pull/485/files#diff-f367ec8524fd2576c9d33e0786dba76b077a0ce32ee7b06a90e7bfd7534aea09
https://github.com/python/cpython/pull/485/files#diff-f367ec8524fd2576c9d33e0786dba76b077a0ce32ee7b06a90e7bfd7534aea09
Modules/_io/_iomodule.chttps://github.com/python/cpython/pull/485/files#diff-0501b143a2f566e8a760abc20a88fd2533b1f230e5322831f400a0263b8c0253
View file https://github.com/serhiy-storchaka/cpython/blob/067721245072dbca8a73e0fb1b673aa034e2284c/Modules/_io/_iomodule.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/485/{{ revealButtonHref }}
https://github.com/python/cpython/pull/485/files#diff-0501b143a2f566e8a760abc20a88fd2533b1f230e5322831f400a0263b8c0253
https://github.com/python/cpython/pull/485/files#diff-0501b143a2f566e8a760abc20a88fd2533b1f230e5322831f400a0263b8c0253
https://github.com/python/cpython/pull/485/files#diff-0501b143a2f566e8a760abc20a88fd2533b1f230e5322831f400a0263b8c0253
https://github.com/python/cpython/pull/485/files#diff-0501b143a2f566e8a760abc20a88fd2533b1f230e5322831f400a0263b8c0253
Modules/_io/fileio.chttps://github.com/python/cpython/pull/485/files#diff-0e6b2d89502ce959c45fa74328f04a45c2e0a23c12a1e1e15dad754e96463322
View file https://github.com/serhiy-storchaka/cpython/blob/067721245072dbca8a73e0fb1b673aa034e2284c/Modules/_io/fileio.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/485/{{ revealButtonHref }}
https://github.com/python/cpython/pull/485/files#diff-0e6b2d89502ce959c45fa74328f04a45c2e0a23c12a1e1e15dad754e96463322
https://github.com/python/cpython/pull/485/files#diff-0e6b2d89502ce959c45fa74328f04a45c2e0a23c12a1e1e15dad754e96463322
https://github.com/python/cpython/pull/485/files#diff-0e6b2d89502ce959c45fa74328f04a45c2e0a23c12a1e1e15dad754e96463322
Modules/_io/textio.chttps://github.com/python/cpython/pull/485/files#diff-f6d1380274f6859688c821fced58fb1c829d8acad44ae252ba988e220e1080b3
View file https://github.com/serhiy-storchaka/cpython/blob/067721245072dbca8a73e0fb1b673aa034e2284c/Modules/_io/textio.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/485/{{ revealButtonHref }}
https://github.com/python/cpython/pull/485/files#diff-f6d1380274f6859688c821fced58fb1c829d8acad44ae252ba988e220e1080b3
https://github.com/python/cpython/pull/485/files#diff-f6d1380274f6859688c821fced58fb1c829d8acad44ae252ba988e220e1080b3
https://github.com/python/cpython/pull/485/files#diff-f6d1380274f6859688c821fced58fb1c829d8acad44ae252ba988e220e1080b3
https://github.com/python/cpython/pull/485/files#diff-f6d1380274f6859688c821fced58fb1c829d8acad44ae252ba988e220e1080b3
https://github.com/python/cpython/pull/485/files#diff-f6d1380274f6859688c821fced58fb1c829d8acad44ae252ba988e220e1080b3
https://github.com/python/cpython/pull/485/files#diff-f6d1380274f6859688c821fced58fb1c829d8acad44ae252ba988e220e1080b3
Modules/_io/winconsoleio.chttps://github.com/python/cpython/pull/485/files#diff-463599eb2f67c89107a6fc2431d387fef7fdbb8c860b2c424477ca9b9794282c
View file https://github.com/serhiy-storchaka/cpython/blob/067721245072dbca8a73e0fb1b673aa034e2284c/Modules/_io/winconsoleio.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/485/{{ revealButtonHref }}
https://github.com/python/cpython/pull/485/files#diff-463599eb2f67c89107a6fc2431d387fef7fdbb8c860b2c424477ca9b9794282c
https://github.com/python/cpython/pull/485/files#diff-463599eb2f67c89107a6fc2431d387fef7fdbb8c860b2c424477ca9b9794282c
https://github.com/python/cpython/pull/485/files#diff-463599eb2f67c89107a6fc2431d387fef7fdbb8c860b2c424477ca9b9794282c
Modules/_tkinter.chttps://github.com/python/cpython/pull/485/files#diff-e22af16a12488bb5478ce31dcf26da13ba5a95e051b2440a740ab6bc4ab0c4fd
View file https://github.com/serhiy-storchaka/cpython/blob/067721245072dbca8a73e0fb1b673aa034e2284c/Modules/_tkinter.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/485/{{ revealButtonHref }}
https://github.com/python/cpython/pull/485/files#diff-e22af16a12488bb5478ce31dcf26da13ba5a95e051b2440a740ab6bc4ab0c4fd
https://github.com/python/cpython/pull/485/files#diff-e22af16a12488bb5478ce31dcf26da13ba5a95e051b2440a740ab6bc4ab0c4fd
https://github.com/python/cpython/pull/485/files#diff-e22af16a12488bb5478ce31dcf26da13ba5a95e051b2440a740ab6bc4ab0c4fd
Modules/_winapi.chttps://github.com/python/cpython/pull/485/files#diff-42415407f8d0ef2d42e29d13d979f633e3543770e62c3871e1101ad532d336a8
View file https://github.com/serhiy-storchaka/cpython/blob/067721245072dbca8a73e0fb1b673aa034e2284c/Modules/_winapi.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/485/{{ revealButtonHref }}
https://github.com/python/cpython/pull/485/files#diff-42415407f8d0ef2d42e29d13d979f633e3543770e62c3871e1101ad532d336a8
https://github.com/python/cpython/pull/485/files#diff-42415407f8d0ef2d42e29d13d979f633e3543770e62c3871e1101ad532d336a8
https://github.com/python/cpython/pull/485/files#diff-42415407f8d0ef2d42e29d13d979f633e3543770e62c3871e1101ad532d336a8
https://github.com/python/cpython/pull/485/files#diff-42415407f8d0ef2d42e29d13d979f633e3543770e62c3871e1101ad532d336a8
https://github.com/python/cpython/pull/485/files#diff-42415407f8d0ef2d42e29d13d979f633e3543770e62c3871e1101ad532d336a8
https://github.com/python/cpython/pull/485/files#diff-42415407f8d0ef2d42e29d13d979f633e3543770e62c3871e1101ad532d336a8
Please reload this pagehttps://github.com/python/cpython/pull/485/files
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.