René's URL Explorer Experiment


Title: [3.15] gh-155486: Allow non-compact integers in `TO_BOOL_INT` (GH-155531) by marinelay · Pull Request #155699 · python/cpython · GitHub

Open Graph Title: [3.15] gh-155486: Allow non-compact integers in `TO_BOOL_INT` (GH-155531) by marinelay · Pull Request #155699 · python/cpython

X Title: [3.15] gh-155486: Allow non-compact integers in `TO_BOOL_INT` (GH-155531) by marinelay · Pull Request #155699 · python/cpython

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

Open Graph Description: Backport of GH-155531 to Python 3.15 (cherry picked from commit cd98657) Issue: TO_BOOL_INT repeatedly misses for non-compact exact integers #155486

X Description: Backport of GH-155531 to Python 3.15 (cherry picked from commit cd98657) Issue: TO_BOOL_INT repeatedly misses for non-compact exact integers #155486

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

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:2921fad4-801b-05f7-d8dc-34db849128c1
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-id80A0:3EE1B7:250291:3337BA:6AECC70D
html-safe-nonce81ab30411ac65e66894eabbfe92e932b81b71c90c96699d0f9b295ea8dcba09b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MEEwOjNFRTFCNzoyNTAyOTE6MzMzN0JBOjZBRUNDNzBEIiwidmlzaXRvcl9pZCI6IjcwNTc1MDQwMjI2MjE1NzA2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9a6fd51efcee2a011278f3a0748156b14c67d0cf8383d09bfa5393a832e27f07
hovercard-subject-tagpull_request:4271067798
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/155699/checks
twitter:imagehttps://opengraph.githubassets.com/ce2908b4acac3b5a055fda387ce74cef81710df4bc90649fcab78fc16f548ab8/python/cpython/pull/155699
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ce2908b4acac3b5a055fda387ce74cef81710df4bc90649fcab78fc16f548ab8/python/cpython/pull/155699
og:image:altBackport of GH-155531 to Python 3.15 (cherry picked from commit cd98657) Issue: TO_BOOL_INT repeatedly misses for non-compact exact integers #155486
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemarinelay
hostnamegithub.com
expected-hostnamegithub.com
Nonedc0b519c5798dc1150b88dc4c06a8b9634d0069218dc04e469970e76aad74016
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
releasedb139f0bf57b59bf9a8c4abb0849924d6c6ca559
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/155699/checks#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F155699%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%2F155699%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/155699/checks
Reloadhttps://github.com/python/cpython/pull/155699/checks
Reloadhttps://github.com/python/cpython/pull/155699/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
marinelayhttps://github.com/marinelay
python:mainhttps://github.com/python/cpython/tree/main
marinelay:backport-cd98657-3.15https://github.com/marinelay/cpython/tree/backport-cd98657-3.15
Conversationhttps://github.com/python/cpython/pull/155699
Commits927 (927)https://github.com/python/cpython/pull/155699/commits
Checkshttps://github.com/python/cpython/pull/155699/checks
Files changedhttps://github.com/python/cpython/pull/155699/files
[3.15] gh-155486: Allow non-compact integers in TO_BOOL_INT (GH-155531)https://github.com/python/cpython/pull/155699/checks#top
marinelayhttps://github.com/marinelay
python:mainhttps://github.com/python/cpython/tree/main
marinelay:backport-cd98657-3.15https://github.com/marinelay/cpython/tree/backport-cd98657-3.15
Please reload this pagehttps://github.com/python/cpython/pull/155699/checks
Sign in for the full log viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F155699%2Fchecks
Tail calling interpreter on: pull_request https://github.com/python/cpython/actions/runs/31699896448
x86_64-apple-darwin/clang https://github.com/python/cpython/actions/runs/31699896448/job/94446257626?pr=155699
aarch64-apple-darwin/clang https://github.com/python/cpython/actions/runs/31699896448/job/94446257530?pr=155699
x86_64-unknown-linux-gnu/gcc https://github.com/python/cpython/actions/runs/31699896448/job/94446257570?pr=155699
x86_64-unknown-linux-gnu/gcc-free-threading https://github.com/python/cpython/actions/runs/31699896448/job/94446257619?pr=155699
aarch64-unknown-linux-gnu/gcc https://github.com/python/cpython/actions/runs/31699896448/job/94446257690?pr=155699
Check labels on: pull_request https://github.com/python/cpython/actions/runs/31699896452
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/31699896452/job/94446257077?pr=155699
Unresolved review https://github.com/python/cpython/actions/runs/31699896452/job/94446257068?pr=155699
Lint on: pull_request https://github.com/python/cpython/actions/runs/31699896513
lint https://github.com/python/cpython/actions/runs/31699896513/job/94446257713?pr=155699
JIT on: pull_request https://github.com/python/cpython/actions/runs/31699896557
Interpreter (Debug) https://github.com/python/cpython/actions/runs/31699896557/job/94446257832?pr=155699
i686-pc-windows-msvc/msvc (Debug) https://github.com/python/cpython/actions/runs/31699896557/job/94446258146?pr=155699
i686-pc-windows-msvc/msvc (Release) https://github.com/python/cpython/actions/runs/31699896557/job/94446258021?pr=155699
x86_64-pc-windows-msvc/msvc (Debug) https://github.com/python/cpython/actions/runs/31699896557/job/94446257865?pr=155699
x86_64-pc-windows-msvc/msvc (Release) https://github.com/python/cpython/actions/runs/31699896557/job/94446257945?pr=155699
aarch64-pc-windows-msvc/msvc (Debug) https://github.com/python/cpython/actions/runs/31699896557/job/94446257975?pr=155699
aarch64-pc-windows-msvc/msvc (Release) https://github.com/python/cpython/actions/runs/31699896557/job/94446257897?pr=155699
x86_64-apple-darwin/clang (Debug) https://github.com/python/cpython/actions/runs/31699896557/job/94446257902?pr=155699
x86_64-apple-darwin/clang (Release) https://github.com/python/cpython/actions/runs/31699896557/job/94446257947?pr=155699
aarch64-apple-darwin/clang (Debug) https://github.com/python/cpython/actions/runs/31699896557/job/94446257989?pr=155699
aarch64-apple-darwin/clang (Release) https://github.com/python/cpython/actions/runs/31699896557/job/94446257875?pr=155699
x86_64-unknown-linux-gnu/gcc (Debug) https://github.com/python/cpython/actions/runs/31699896557/job/94446258019?pr=155699
x86_64-unknown-linux-gnu/gcc (Release) https://github.com/python/cpython/actions/runs/31699896557/job/94446257849?pr=155699
aarch64-unknown-linux-gnu/gcc (Debug) https://github.com/python/cpython/actions/runs/31699896557/job/94446257859?pr=155699
aarch64-unknown-linux-gnu/gcc (Release) https://github.com/python/cpython/actions/runs/31699896557/job/94446257873?pr=155699
Free-Threaded (Debug) https://github.com/python/cpython/actions/runs/31699896557/job/94446257907?pr=155699
JIT without optimizations (Debug) https://github.com/python/cpython/actions/runs/31699896557/job/94446257880?pr=155699
JIT with stress testing (Debug) https://github.com/python/cpython/actions/runs/31699896557/job/94446257943?pr=155699
JIT with tail calling interpreter https://github.com/python/cpython/actions/runs/31699896557/job/94446257983?pr=155699
Tests on: pull_request https://github.com/python/cpython/actions/runs/31699896748
Change detection / Create context from changed files https://github.com/python/cpython/actions/runs/31699896748/job/94446258698?pr=155699
Docs https://github.com/python/cpython/actions/runs/31699896748/job/94446344486?pr=155699
Check if the ABI has changed https://github.com/python/cpython/actions/runs/31699896748/job/94446343558?pr=155699
Check if Autoconf files are up to date https://github.com/python/cpython/actions/runs/31699896748/job/94446343511?pr=155699
Check if generated files are up to date https://github.com/python/cpython/actions/runs/31699896748/job/94446343600?pr=155699
C API Docs / Check if all C APIs are documented https://github.com/python/cpython/actions/runs/31699896748/job/94446343893?pr=155699
Windows / Build and test (x64, switch-case) https://github.com/python/cpython/actions/runs/31699896748/job/94446344446?pr=155699
Windows (free-threading) / Build and test (x64, switch-case) https://github.com/python/cpython/actions/runs/31699896748/job/94446344367?pr=155699
Windows / Build and test (Win32, switch-case) https://github.com/python/cpython/actions/runs/31699896748/job/94446344422?pr=155699
Windows / Build and test (arm64, switch-case) https://github.com/python/cpython/actions/runs/31699896748/job/94446344451?pr=155699
Windows (free-threading) / Build and test (arm64, switch-case) https://github.com/python/cpython/actions/runs/31699896748/job/94446344536?pr=155699
Windows / Build and test (x64, tail-call) https://github.com/python/cpython/actions/runs/31699896748/job/94446344533?pr=155699
Windows (free-threading) / Build and test (x64, tail-call) https://github.com/python/cpython/actions/runs/31699896748/job/94446344412?pr=155699
Windows MSI${{ '' }} https://github.com/python/cpython/actions/runs/31699896748/job/94446344378?pr=155699
macOS / build and test (macos-26) https://github.com/python/cpython/actions/runs/31699896748/job/94446344555?pr=155699
macOS (free-threading) / build and test (macos-26) https://github.com/python/cpython/actions/runs/31699896748/job/94446344478?pr=155699
macOS / build and test (macos-26-intel) https://github.com/python/cpython/actions/runs/31699896748/job/94446344604?pr=155699
Ubuntu / build and test (ubuntu-26.04) https://github.com/python/cpython/actions/runs/31699896748/job/94446344387?pr=155699
Ubuntu / build and test (ubuntu-26.04-arm) https://github.com/python/cpython/actions/runs/31699896748/job/94446344393?pr=155699
Ubuntu (free-threading) / build and test (ubuntu-26.04) https://github.com/python/cpython/actions/runs/31699896748/job/94446344456?pr=155699
Ubuntu (free-threading) / build and test (ubuntu-26.04-arm) https://github.com/python/cpython/actions/runs/31699896748/job/94446344449?pr=155699
Ubuntu (bolt) / build and test (ubuntu-26.04) https://github.com/python/cpython/actions/runs/31699896748/job/94446344350?pr=155699
Ubuntu (installed) / build, install and test https://github.com/python/cpython/actions/runs/31699896748/job/94446344299?pr=155699
Ubuntu SSL tests (ubuntu-26.04, openssl, 1.1.1w) https://github.com/python/cpython/actions/runs/31699896748/job/94446343939?pr=155699
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.0.21) https://github.com/python/cpython/actions/runs/31699896748/job/94446344007?pr=155699
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.4.6) https://github.com/python/cpython/actions/runs/31699896748/job/94446344038?pr=155699
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.5.7) https://github.com/python/cpython/actions/runs/31699896748/job/94446344209?pr=155699
Ubuntu SSL tests (ubuntu-26.04, openssl, 3.6.3) https://github.com/python/cpython/actions/runs/31699896748/job/94446344087?pr=155699
Ubuntu SSL tests (ubuntu-26.04, openssl, 4.0.1) https://github.com/python/cpython/actions/runs/31699896748/job/94446343975?pr=155699
Ubuntu SSL tests (ubuntu-26.04, aws-lc, 5.0.0) https://github.com/python/cpython/actions/runs/31699896748/job/94446343957?pr=155699
Android (aarch64) https://github.com/python/cpython/actions/runs/31699896748/job/94446343734?pr=155699
Android (x86_64) https://github.com/python/cpython/actions/runs/31699896748/job/94446343721?pr=155699
iOS https://github.com/python/cpython/actions/runs/31699896748/job/94446343755?pr=155699
Emscripten / build and test https://github.com/python/cpython/actions/runs/31699896748/job/94446344180?pr=155699
WASI / build and test https://github.com/python/cpython/actions/runs/31699896748/job/94446344263?pr=155699
Hypothesis tests on Ubuntu https://github.com/python/cpython/actions/runs/31699896748/job/94446343795?pr=155699
Address sanitizer (ubuntu-26.04) https://github.com/python/cpython/actions/runs/31699896748/job/94446343826?pr=155699
Sanitizers / TSan https://github.com/python/cpython/actions/runs/31699896748/job/94446344496?pr=155699
Sanitizers / TSan (free-threading) https://github.com/python/cpython/actions/runs/31699896748/job/94446344537?pr=155699
Sanitizers / UBSan https://github.com/python/cpython/actions/runs/31699896748/job/94446344445?pr=155699
Cross build Linux https://github.com/python/cpython/actions/runs/31699896748/job/94446343863?pr=155699
CIFuzz${{ '' }} https://github.com/python/cpython/actions/runs/31699896748/job/94446344333?pr=155699
All required checks pass https://github.com/python/cpython/actions/runs/31699896748/job/94454418496?pr=155699
Check labels on: pull_request https://github.com/python/cpython/actions/runs/31699902499
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/31699902499/job/94446277319?pr=155699
Unresolved review https://github.com/python/cpython/actions/runs/31699902499/job/94446277137?pr=155699
Check labels on: pull_request https://github.com/python/cpython/actions/runs/31699904229
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/31699904229/job/94446283379?pr=155699
Unresolved review https://github.com/python/cpython/actions/runs/31699904229/job/94446283398?pr=155699
Check labels on: pull_request https://github.com/python/cpython/actions/runs/32341504858
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/32341504858/job/96341380283?pr=155699
Unresolved review https://github.com/python/cpython/actions/runs/32341504858/job/96341380004?pr=155699
Check labels on: pull_request https://github.com/python/cpython/actions/runs/32341505743
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/32341505743/job/96341382851?pr=155699
Unresolved review https://github.com/python/cpython/actions/runs/32341505743/job/96341382623?pr=155699
Check labels on: pull_request https://github.com/python/cpython/actions/runs/34056323654
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/34056323654/job/101548775856?pr=155699
Unresolved review https://github.com/python/cpython/actions/runs/34056323654/job/101548775994?pr=155699
Check labels on: pull_request https://github.com/python/cpython/actions/runs/34056324132
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/34056324132/job/101548777299?pr=155699
Unresolved review https://github.com/python/cpython/actions/runs/34056324132/job/101548777211?pr=155699
Install dependencies https://github.com/python/cpython/pull/155699/checks#annotation:4:169
Install dependencies https://github.com/python/cpython/pull/155699/checks#annotation:4:143
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.