René's URL Explorer Experiment


Title: Update interactive compile-error recovery to CPython 3.15.2 by youknowone · Pull Request #9936 · RustPython/RustPython · GitHub

Open Graph Title: Update interactive compile-error recovery to CPython 3.15.2 by youknowone · Pull Request #9936 · RustPython/RustPython

X Title: Update interactive compile-error recovery to CPython 3.15.2 by youknowone · Pull Request #9936 · RustPython/RustPython

Description: Summary Part of #9852. Synchronize the related code, pdb, and _pyrepl changes using scripts/update_lib: Handle compile-time exceptions beyond SyntaxError, including RecursionError, without terminating interactive sessions. Convert interactive prompts to strings and fall back safely when conversion fails. Import the matching canonical CPython 3.15.2 regressions, including nested breakpoints and comprehension stepping. No original tests or update_lib-tool tests are added. Preserve existing pdb doctest guards and its RustPython checker using explicitly reviewed migration metadata; all 27 existing TODO annotations remain. Remove an obsolete unused unittest import in test_reader. Validation Linux x86_64, existing main bf68333 interpreter (default features + sqlite), Rust 1.100: Full test_code_module test_pdb test_pyrepl: 618 tests run, 113 skipped, all three modules passed. CPython 3.15.2 reference: the same three modules 618 run, 77 skipped, passed. Focused new pdb compile-error cases, nested breakpoint, and both comprehension-stepping doctests pass. No native AST changes are involved; the local Linux main interpreter reports RecursionError for the canonical deep input. This result is not portable: the Windows CI run below crashes on that input. Normal commit hooks passed: merge conflicts, Ruff format/check, redundant test patch check. Rustfmt, cspell and prettier had no applicable files. Remote tree is identical to the hook-checked local tree. Limits Existing platform/resource/optional-feature skips remain; no skip or expectedFailure was added. A separate raw unittest invocation was stopped at its 90-second bound and is not counted as a suite pass; the supported regrtest invocation above completed successfully. The local validation above did not include workspace Rust/C-API tests, a Clippy rebuild, Windows/macOS/WASI execution, or performance measurement. CAPI remains deferred. CI results (head 05ede64eb42da954940e984a9f6ca9cfba775094) CI run completed with failure: Linux and macOS snippets and CPython test steps passed. Windows snippets passed, but test_code_module, test_pdb, and test_pyrepl crashed with STATUS_STACK_OVERFLOW while compiling the canonical input containing 100,000 unary - operators. The automatic retries also crashed. This remains unresolved; this PR does not fix the native deep-input failure or establish cross-platform recovery. Windows failure log. Windows checks following the failed Python suite (environment-polluter, pip/ensurepip/venv and whats_left checks) were skipped. Rust/C-API and WASI test steps were skipped despite successful wrapper-job labels. Clippy, Miri, cross-target checks, cargo doc/shear, and WASM package/demo jobs were skipped. CodSpeed's build and benchmark steps were skipped; pyperformance was skipped. No performance measurement was made. AI-assisted by OpenAI Codex under maintainer direction; exact model version is not exposed, so the commit trailer records model-unspecified.

Open Graph Description: Summary Part of #9852. Synchronize the related code, pdb, and _pyrepl changes using scripts/update_lib: Handle compile-time exceptions beyond SyntaxError, including RecursionError, without termina...

X Description: Summary Part of #9852. Synchronize the related code, pdb, and _pyrepl changes using scripts/update_lib: Handle compile-time exceptions beyond SyntaxError, including RecursionError, without termina...

Opengraph URL: https://github.com/RustPython/RustPython/pull/9936

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:7d769db3-b8c6-17bc-1164-2942de5d7170
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC5F0:97D39:6C1A82:8EEF7A:6B01D7E8
html-safe-nonceff2cd9424626f902652ce2badccf8a9c612c628c5278eef28ab4a3f8be99e7c0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNUYwOjk3RDM5OjZDMUE4Mjo4RUVGN0E6NkIwMUQ3RTgiLCJ2aXNpdG9yX2lkIjoiMjg2Mzc5NTY0NTQyNzM0MTI4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac18bebd3551759ed95fac04e7edc62c04e58636ccb3fdc03fcd881ea88ada4018
hovercard-subject-tagpull_request:5369633232
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/RustPython/RustPython/pull/9936/files
twitter:imagehttps://avatars.githubusercontent.com/u/69878?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/69878?s=400&v=4
og:image:altSummary Part of #9852. Synchronize the related code, pdb, and _pyrepl changes using scripts/update_lib: Handle compile-time exceptions beyond SyntaxError, including RecursionError, without termina...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git
octolytics-dimension-user_id39710557
octolytics-dimension-user_loginRustPython
octolytics-dimension-repository_id135201145
octolytics-dimension-repository_nwoRustPython/RustPython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id135201145
octolytics-dimension-repository_network_root_nwoRustPython/RustPython
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/RustPython/RustPython/pull/9936/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FRustPython%2FRustPython%2Fpull%2F9936%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%2FRustPython%2FRustPython%2Fpull%2F9936%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=RustPython%2FRustPython
Reloadhttps://github.com/RustPython/RustPython/pull/9936/files
Reloadhttps://github.com/RustPython/RustPython/pull/9936/files
Reloadhttps://github.com/RustPython/RustPython/pull/9936/files
RustPythonhttps://github.com/RustPython
RustPythonhttps://github.com/RustPython/RustPython
Codehttps://github.com/RustPython/RustPython
Issues195 (195)https://github.com/RustPython/RustPython/issues
Pull requests132 (132)https://github.com/RustPython/RustPython/pulls
Discussionshttps://github.com/RustPython/RustPython/discussions
Actionshttps://github.com/RustPython/RustPython/actions
Projectshttps://github.com/RustPython/RustPython/projects
Wikihttps://github.com/RustPython/RustPython/wiki
Security and qualityhttps://github.com/RustPython/RustPython/security
Insightshttps://github.com/RustPython/RustPython/insights
Sign up for GitHub https://github.com/signup?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FRustPython%2FRustPython%2Fissues%2Fnew%2Fchoose
youknowonehttps://github.com/youknowone
mainhttps://github.com/RustPython/RustPython/tree/main
dot/interactive-compile-errors-3152https://github.com/RustPython/RustPython/tree/dot/interactive-compile-errors-3152
Conversation 2 https://github.com/RustPython/RustPython/pull/9936
Commits 1 https://github.com/RustPython/RustPython/pull/9936/commits
Checks 23 https://github.com/RustPython/RustPython/pull/9936/checks
Files changed 8 https://github.com/RustPython/RustPython/pull/9936/files
Update interactive compile-error recovery to CPython 3.15.2 https://github.com/RustPython/RustPython/pull/9936/files#top
Show all changes 1 commit https://github.com/RustPython/RustPython/pull/9936/files
05ede64 Update interactive compile-error recovery to CPython 3.15.2 youknowone Nov 18, 2026 https://github.com/RustPython/RustPython/pull/9936/commits/05ede64eb42da954940e984a9f6ca9cfba775094
Clear filters https://github.com/RustPython/RustPython/pull/9936/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9936/files
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9936/files
console.py https://github.com/RustPython/RustPython/pull/9936/files#diff-7760a60a67edc325bc15f9e8fc4aa0bcb3ddee586739865c2ce14c438c0a48b1
simple_interact.py https://github.com/RustPython/RustPython/pull/9936/files#diff-0b3e2aa3c0ebaa4ebd022d2d64ddf43235b1401a622f372ad87f4822f21674b4
code.py https://github.com/RustPython/RustPython/pull/9936/files#diff-8671c9eeec70141930b48b63414153afa734e72526e755507d204a33da4672f8
pdb.py https://github.com/RustPython/RustPython/pull/9936/files#diff-98d47941a1bfadcfdfe02973122c83be2940ca6f3b1c32ca8898e7f594d2669d
test_code_module.py https://github.com/RustPython/RustPython/pull/9936/files#diff-fd2a9bf12f3155afbf0befe38a3937f92bbfbae8eb974f254872d5ecec80fe1a
test_pdb.py https://github.com/RustPython/RustPython/pull/9936/files#diff-62d496a5c437924e8e749b16d45e0b928917c424ba7deb45112f5a7a9450c6f5
test_interact.py https://github.com/RustPython/RustPython/pull/9936/files#diff-dba95d75350c3dbb6fc4f5d2687a51d45987e858e8a39f20e7096ac9b2136d89
test_reader.py https://github.com/RustPython/RustPython/pull/9936/files#diff-6f66163ec869997591163cc4eec0a1232571f464f1a243db2df130e1803eadaf
Lib/_pyrepl/console.pyhttps://github.com/RustPython/RustPython/pull/9936/files#diff-7760a60a67edc325bc15f9e8fc4aa0bcb3ddee586739865c2ce14c438c0a48b1
View file https://github.com/RustPython/RustPython/blob/05ede64eb42da954940e984a9f6ca9cfba775094/Lib/_pyrepl/console.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9936/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/9936/files#diff-7760a60a67edc325bc15f9e8fc4aa0bcb3ddee586739865c2ce14c438c0a48b1
https://github.com/RustPython/RustPython/pull/9936/files#diff-7760a60a67edc325bc15f9e8fc4aa0bcb3ddee586739865c2ce14c438c0a48b1
https://github.com/RustPython/RustPython/pull/9936/files#diff-7760a60a67edc325bc15f9e8fc4aa0bcb3ddee586739865c2ce14c438c0a48b1
Lib/_pyrepl/simple_interact.pyhttps://github.com/RustPython/RustPython/pull/9936/files#diff-0b3e2aa3c0ebaa4ebd022d2d64ddf43235b1401a622f372ad87f4822f21674b4
View file https://github.com/RustPython/RustPython/blob/05ede64eb42da954940e984a9f6ca9cfba775094/Lib/_pyrepl/simple_interact.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9936/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/9936/files#diff-0b3e2aa3c0ebaa4ebd022d2d64ddf43235b1401a622f372ad87f4822f21674b4
https://github.com/RustPython/RustPython/pull/9936/files#diff-0b3e2aa3c0ebaa4ebd022d2d64ddf43235b1401a622f372ad87f4822f21674b4
https://github.com/RustPython/RustPython/pull/9936/files#diff-0b3e2aa3c0ebaa4ebd022d2d64ddf43235b1401a622f372ad87f4822f21674b4
https://github.com/RustPython/RustPython/pull/9936/files#diff-0b3e2aa3c0ebaa4ebd022d2d64ddf43235b1401a622f372ad87f4822f21674b4
Lib/code.pyhttps://github.com/RustPython/RustPython/pull/9936/files#diff-8671c9eeec70141930b48b63414153afa734e72526e755507d204a33da4672f8
View file https://github.com/RustPython/RustPython/blob/05ede64eb42da954940e984a9f6ca9cfba775094/Lib/code.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9936/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/9936/files#diff-8671c9eeec70141930b48b63414153afa734e72526e755507d204a33da4672f8
https://github.com/RustPython/RustPython/pull/9936/files#diff-8671c9eeec70141930b48b63414153afa734e72526e755507d204a33da4672f8
https://github.com/RustPython/RustPython/pull/9936/files#diff-8671c9eeec70141930b48b63414153afa734e72526e755507d204a33da4672f8
Lib/pdb.pyhttps://github.com/RustPython/RustPython/pull/9936/files#diff-98d47941a1bfadcfdfe02973122c83be2940ca6f3b1c32ca8898e7f594d2669d
View file https://github.com/RustPython/RustPython/blob/05ede64eb42da954940e984a9f6ca9cfba775094/Lib/pdb.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9936/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/9936/files#diff-98d47941a1bfadcfdfe02973122c83be2940ca6f3b1c32ca8898e7f594d2669d
https://github.com/RustPython/RustPython/pull/9936/files#diff-98d47941a1bfadcfdfe02973122c83be2940ca6f3b1c32ca8898e7f594d2669d
https://github.com/RustPython/RustPython/pull/9936/files#diff-98d47941a1bfadcfdfe02973122c83be2940ca6f3b1c32ca8898e7f594d2669d
https://github.com/RustPython/RustPython/pull/9936/files#diff-98d47941a1bfadcfdfe02973122c83be2940ca6f3b1c32ca8898e7f594d2669d
Lib/test/test_code_module.pyhttps://github.com/RustPython/RustPython/pull/9936/files#diff-fd2a9bf12f3155afbf0befe38a3937f92bbfbae8eb974f254872d5ecec80fe1a
View file https://github.com/RustPython/RustPython/blob/05ede64eb42da954940e984a9f6ca9cfba775094/Lib/test/test_code_module.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9936/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/9936/files#diff-fd2a9bf12f3155afbf0befe38a3937f92bbfbae8eb974f254872d5ecec80fe1a
https://github.com/RustPython/RustPython/pull/9936/files#diff-fd2a9bf12f3155afbf0befe38a3937f92bbfbae8eb974f254872d5ecec80fe1a
Lib/test/test_pdb.pyhttps://github.com/RustPython/RustPython/pull/9936/files#diff-62d496a5c437924e8e749b16d45e0b928917c424ba7deb45112f5a7a9450c6f5
View file https://github.com/RustPython/RustPython/blob/05ede64eb42da954940e984a9f6ca9cfba775094/Lib/test/test_pdb.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9936/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/9936/files#diff-62d496a5c437924e8e749b16d45e0b928917c424ba7deb45112f5a7a9450c6f5
https://github.com/RustPython/RustPython/pull/9936/files#diff-62d496a5c437924e8e749b16d45e0b928917c424ba7deb45112f5a7a9450c6f5
https://github.com/RustPython/RustPython/pull/9936/files#diff-62d496a5c437924e8e749b16d45e0b928917c424ba7deb45112f5a7a9450c6f5
https://github.com/RustPython/RustPython/pull/9936/files#diff-62d496a5c437924e8e749b16d45e0b928917c424ba7deb45112f5a7a9450c6f5
https://github.com/RustPython/RustPython/pull/9936/files#diff-62d496a5c437924e8e749b16d45e0b928917c424ba7deb45112f5a7a9450c6f5
https://github.com/RustPython/RustPython/pull/9936/files#diff-62d496a5c437924e8e749b16d45e0b928917c424ba7deb45112f5a7a9450c6f5
Lib/test/test_pyrepl/test_interact.pyhttps://github.com/RustPython/RustPython/pull/9936/files#diff-dba95d75350c3dbb6fc4f5d2687a51d45987e858e8a39f20e7096ac9b2136d89
View file https://github.com/RustPython/RustPython/blob/05ede64eb42da954940e984a9f6ca9cfba775094/Lib/test/test_pyrepl/test_interact.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9936/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/9936/files#diff-dba95d75350c3dbb6fc4f5d2687a51d45987e858e8a39f20e7096ac9b2136d89
https://github.com/RustPython/RustPython/pull/9936/files#diff-dba95d75350c3dbb6fc4f5d2687a51d45987e858e8a39f20e7096ac9b2136d89
https://github.com/RustPython/RustPython/pull/9936/files#diff-dba95d75350c3dbb6fc4f5d2687a51d45987e858e8a39f20e7096ac9b2136d89
https://github.com/RustPython/RustPython/pull/9936/files#diff-dba95d75350c3dbb6fc4f5d2687a51d45987e858e8a39f20e7096ac9b2136d89
https://github.com/RustPython/RustPython/pull/9936/files#diff-dba95d75350c3dbb6fc4f5d2687a51d45987e858e8a39f20e7096ac9b2136d89
Lib/test/test_pyrepl/test_reader.pyhttps://github.com/RustPython/RustPython/pull/9936/files#diff-6f66163ec869997591163cc4eec0a1232571f464f1a243db2df130e1803eadaf
View file https://github.com/RustPython/RustPython/blob/05ede64eb42da954940e984a9f6ca9cfba775094/Lib/test/test_pyrepl/test_reader.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/RustPython/RustPython/pull/9936/{{ revealButtonHref }}
https://github.com/RustPython/RustPython/pull/9936/files#diff-6f66163ec869997591163cc4eec0a1232571f464f1a243db2df130e1803eadaf
https://github.com/RustPython/RustPython/pull/9936/files#diff-6f66163ec869997591163cc4eec0a1232571f464f1a243db2df130e1803eadaf
Please reload this pagehttps://github.com/RustPython/RustPython/pull/9936/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.