René's URL Explorer Experiment


Title: gh-134584: Eliminate redundant refcounting in TO_BOOL_INT, TO_BOOL_LIST by reidenong · Pull Request #143759 · python/cpython · GitHub

Open Graph Title: gh-134584: Eliminate redundant refcounting in TO_BOOL_INT, TO_BOOL_LIST by reidenong · Pull Request #143759 · python/cpython

X Title: gh-134584: Eliminate redundant refcounting in TO_BOOL_INT, TO_BOOL_LIST by reidenong · Pull Request #143759 · python/cpython

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

Open Graph Description: Refactor TO_BOOL_INT, add unit tests. A temporary fix is made to a unit test for unary_not as constant folding currently has some issues, and that will be taken care of in a new issue Refactor TO_...

X Description: Refactor TO_BOOL_INT, add unit tests. A temporary fix is made to a unit test for unary_not as constant folding currently has some issues, and that will be taken care of in a new issue Refactor TO_...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:9f436734-21b4-0d56-e2ba-bb35166d3ed2
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-id8B46:A4B3C:367567:4BC88D:6AECBB0F
html-safe-nonce2e7129b9b805c78ca944360e6f749d45fb1e44f3e22283380796e18d1bb48641
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjQ2OkE0QjNDOjM2NzU2Nzo0QkM4OEQ6NkFFQ0JCMEYiLCJ2aXNpdG9yX2lkIjoiODEzMjYwNzE5MzM3NTM1NzcxMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb158ea95d3cb6409818ca2a18ec12f2991433c4871f5d22efe270ed4a651122e
hovercard-subject-tagpull_request:3167364425
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/143759/checks
twitter:imagehttps://opengraph.githubassets.com/7ba68fd94d85031ea51820e82a23184227145339da5139b2547a9551836359e6/python/cpython/pull/143759
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7ba68fd94d85031ea51820e82a23184227145339da5139b2547a9551836359e6/python/cpython/pull/143759
og:image:altRefactor TO_BOOL_INT, add unit tests. A temporary fix is made to a unit test for unary_not as constant folding currently has some issues, and that will be taken care of in a new issue Refactor TO_...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamereidenong
hostnamegithub.com
expected-hostnamegithub.com
None95ae5445dec4cded2bc4f9d97ede92b9116c0bf381a08a5c844b60b5bddcbc97
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
releasedb4ef601a7f034ae2a68e17d6eeaeb7ee9470192
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/143759/checks#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143759%2Fchecks
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%2F143759%2Fchecks
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%2Fchecks&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/143759/checks
Reloadhttps://github.com/python/cpython/pull/143759/checks
Reloadhttps://github.com/python/cpython/pull/143759/checks
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.3k (2.3k)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/pulse
https://github.com/python/cpython
Fidget-Spinnerhttps://github.com/Fidget-Spinner
python:mainhttps://github.com/python/cpython/tree/main
reidenong:Refactor-TO_BOOL_INT-and-TO_BOOL_LISThttps://github.com/reidenong/cpython/tree/Refactor-TO_BOOL_INT-and-TO_BOOL_LIST
Conversationhttps://github.com/python/cpython/pull/143759
Commits2 (2)https://github.com/python/cpython/pull/143759/commits
Checkshttps://github.com/python/cpython/pull/143759/checks
Files changedhttps://github.com/python/cpython/pull/143759/files
gh-134584: Eliminate redundant refcounting in TO_BOOL_INT, TO_BOOL_LISThttps://github.com/python/cpython/pull/143759/checks#top
Fidget-Spinnerhttps://github.com/Fidget-Spinner
python:mainhttps://github.com/python/cpython/tree/main
reidenong:Refactor-TO_BOOL_INT-and-TO_BOOL_LISThttps://github.com/reidenong/cpython/tree/Refactor-TO_BOOL_INT-and-TO_BOOL_LIST
Please reload this pagehttps://github.com/python/cpython/pull/143759/checks
Sign in for the full log viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143759%2Fchecks
Tests on: pull_request https://github.com/python/cpython/actions/runs/20935436169
Change detection / Create context from changed files https://github.com/python/cpython/actions/runs/20935436169/job/60156744468?pr=143759
Docs https://github.com/python/cpython/actions/runs/20935436169/job/60156767019?pr=143759
Check if Autoconf files are up to date https://github.com/python/cpython/actions/runs/20935436169/job/60156766875?pr=143759
Check if generated files are up to date https://github.com/python/cpython/actions/runs/20935436169/job/60156766880?pr=143759
Windows / Build and test (x64) https://github.com/python/cpython/actions/runs/20935436169/job/60156767068?pr=143759
Windows (free-threading) / Build and test (x64) https://github.com/python/cpython/actions/runs/20935436169/job/60156767039?pr=143759
Windows / Build and test (Win32) https://github.com/python/cpython/actions/runs/20935436169/job/60156767077?pr=143759
Windows / Build and test (arm64) https://github.com/python/cpython/actions/runs/20935436169/job/60156767088?pr=143759
Windows (free-threading) / Build and test (arm64) https://github.com/python/cpython/actions/runs/20935436169/job/60156767058?pr=143759
Windows MSI${{ '' }} https://github.com/python/cpython/actions/runs/20935436169/job/60156767186?pr=143759
macOS / build and test (macos-14) https://github.com/python/cpython/actions/runs/20935436169/job/60156767053?pr=143759
macOS (free-threading) / build and test (macos-14) https://github.com/python/cpython/actions/runs/20935436169/job/60156767049?pr=143759
macOS / build and test (macos-15-intel) https://github.com/python/cpython/actions/runs/20935436169/job/60156767046?pr=143759
Ubuntu / build and test (ubuntu-24.04) https://github.com/python/cpython/actions/runs/20935436169/job/60156767110?pr=143759
Ubuntu / build and test (ubuntu-24.04-arm) https://github.com/python/cpython/actions/runs/20935436169/job/60156767120?pr=143759
Ubuntu (free-threading) / build and test (ubuntu-24.04) https://github.com/python/cpython/actions/runs/20935436169/job/60156767121?pr=143759
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm) https://github.com/python/cpython/actions/runs/20935436169/job/60156767153?pr=143759
Ubuntu (bolt) / build and test (ubuntu-24.04) https://github.com/python/cpython/actions/runs/20935436169/job/60156767149?pr=143759
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 1.1.1w) https://github.com/python/cpython/actions/runs/20935436169/job/60156767005?pr=143759
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.0.18) https://github.com/python/cpython/actions/runs/20935436169/job/60156767014?pr=143759
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.2.6) https://github.com/python/cpython/actions/runs/20935436169/job/60156766999?pr=143759
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.3.5) https://github.com/python/cpython/actions/runs/20935436169/job/60156767001?pr=143759
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.4.3) https://github.com/python/cpython/actions/runs/20935436169/job/60156767032?pr=143759
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.5.4) https://github.com/python/cpython/actions/runs/20935436169/job/60156767004?pr=143759
Ubuntu SSL tests with AWS-LC (ubuntu-24.04, 1.55.0) https://github.com/python/cpython/actions/runs/20935436169/job/60156766932?pr=143759
Android (aarch64) https://github.com/python/cpython/actions/runs/20935436169/job/60156766947?pr=143759
Android (x86_64) https://github.com/python/cpython/actions/runs/20935436169/job/60156766943?pr=143759
iOS https://github.com/python/cpython/actions/runs/20935436169/job/60156766971?pr=143759
WASI / build and test https://github.com/python/cpython/actions/runs/20935436169/job/60156767021?pr=143759
Hypothesis tests on Ubuntu https://github.com/python/cpython/actions/runs/20935436169/job/60156766970?pr=143759
Address sanitizer (ubuntu-24.04) https://github.com/python/cpython/actions/runs/20935436169/job/60156766948?pr=143759
Sanitizers / TSan https://github.com/python/cpython/actions/runs/20935436169/job/60156767167?pr=143759
Sanitizers / TSan (free-threading) https://github.com/python/cpython/actions/runs/20935436169/job/60156767200?pr=143759
Sanitizers / UBSan https://github.com/python/cpython/actions/runs/20935436169/job/60156767113?pr=143759
Cross build Linux https://github.com/python/cpython/actions/runs/20935436169/job/60156766933?pr=143759
CIFuzz https://github.com/python/cpython/actions/runs/20935436169/job/60156767208?pr=143759
All required checks pass https://github.com/python/cpython/actions/runs/20935436169/job/60159079905?pr=143759
Tail calling interpreter on: pull_request https://github.com/python/cpython/actions/runs/20935436182
x86_64-pc-windows-msvc/msvc https://github.com/python/cpython/actions/runs/20935436182/job/60156744511?pr=143759
x86_64-apple-darwin/clang https://github.com/python/cpython/actions/runs/20935436182/job/60156744494?pr=143759
aarch64-apple-darwin/clang https://github.com/python/cpython/actions/runs/20935436182/job/60156744526?pr=143759
x86_64-unknown-linux-gnu/gcc https://github.com/python/cpython/actions/runs/20935436182/job/60156744544?pr=143759
aarch64-unknown-linux-gnu/gcc https://github.com/python/cpython/actions/runs/20935436182/job/60156744537?pr=143759
free-threading https://github.com/python/cpython/actions/runs/20935436182/job/60156744546?pr=143759
JIT on: pull_request https://github.com/python/cpython/actions/runs/20935436197
Interpreter (Debug) https://github.com/python/cpython/actions/runs/20935436197/job/60156744432?pr=143759
i686-pc-windows-msvc/msvc (Debug) https://github.com/python/cpython/actions/runs/20935436197/job/60157806256?pr=143759
i686-pc-windows-msvc/msvc (Release) https://github.com/python/cpython/actions/runs/20935436197/job/60157806249?pr=143759
x86_64-pc-windows-msvc/msvc (Debug) https://github.com/python/cpython/actions/runs/20935436197/job/60157806258?pr=143759
x86_64-pc-windows-msvc/msvc (Release) https://github.com/python/cpython/actions/runs/20935436197/job/60157806262?pr=143759
aarch64-pc-windows-msvc/msvc (Debug) https://github.com/python/cpython/actions/runs/20935436197/job/60157806288?pr=143759
aarch64-pc-windows-msvc/msvc (Release) https://github.com/python/cpython/actions/runs/20935436197/job/60157806263?pr=143759
x86_64-apple-darwin/clang (Debug) https://github.com/python/cpython/actions/runs/20935436197/job/60157806277?pr=143759
x86_64-apple-darwin/clang (Release) https://github.com/python/cpython/actions/runs/20935436197/job/60157806243?pr=143759
aarch64-apple-darwin/clang (Debug) https://github.com/python/cpython/actions/runs/20935436197/job/60157806241?pr=143759
aarch64-apple-darwin/clang (Release) https://github.com/python/cpython/actions/runs/20935436197/job/60157806293?pr=143759
x86_64-unknown-linux-gnu/gcc (Debug) https://github.com/python/cpython/actions/runs/20935436197/job/60157806308?pr=143759
x86_64-unknown-linux-gnu/gcc (Release) https://github.com/python/cpython/actions/runs/20935436197/job/60157806299?pr=143759
aarch64-unknown-linux-gnu/gcc (Debug) https://github.com/python/cpython/actions/runs/20935436197/job/60157806318?pr=143759
aarch64-unknown-linux-gnu/gcc (Release) https://github.com/python/cpython/actions/runs/20935436197/job/60157806311?pr=143759
Free-Threaded (Debug) (21) https://github.com/python/cpython/actions/runs/20935436197/job/60157806158?pr=143759
JIT without optimizations (Debug) (21) https://github.com/python/cpython/actions/runs/20935436197/job/60157806159?pr=143759
JIT with tail calling interpreter (21) https://github.com/python/cpython/actions/runs/20935436197/job/60157806190?pr=143759
Check labels on: pull_request https://github.com/python/cpython/actions/runs/20935436191
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/20935436191/job/60156744223?pr=143759
Unresolved review https://github.com/python/cpython/actions/runs/20935436191/job/60156744251?pr=143759
Lint on: pull_request https://github.com/python/cpython/actions/runs/20935436193
lint https://github.com/python/cpython/actions/runs/20935436193/job/60156744428?pr=143759
Check labels on: pull_request https://github.com/python/cpython/actions/runs/20935438480
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/20935438480/job/60156751227?pr=143759
Unresolved review https://github.com/python/cpython/actions/runs/20935438480/job/60156751210?pr=143759
Check labels on: pull_request https://github.com/python/cpython/actions/runs/20935685546
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/20935685546/job/60157588607?pr=143759
Unresolved review https://github.com/python/cpython/actions/runs/20935685546/job/60157588567?pr=143759
Check labels on: pull_request https://github.com/python/cpython/actions/runs/20936251594
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/20936251594/job/60159470515?pr=143759
Unresolved review https://github.com/python/cpython/actions/runs/20936251594/job/60159470532?pr=143759
Check labels on: pull_request https://github.com/python/cpython/actions/runs/20936251825
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/20936251825/job/60159471252?pr=143759
Unresolved review https://github.com/python/cpython/actions/runs/20936251825/job/60159471335?pr=143759
Check labels on: pull_request https://github.com/python/cpython/actions/runs/20936378020
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/20936378020/job/60159879727?pr=143759
Unresolved review https://github.com/python/cpython/actions/runs/20936378020/job/60159879733?pr=143759
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.