Skip to content

gh-159465: Improve incomplete input detection - #159466

Draft
pablogsal wants to merge 3 commits into
python:mainfrom
pablogsal:prototype/incomplete-input-restart-20261013
Draft

pablogsal wants to merge 3 commits into
python:mainfrom
pablogsal:prototype/incomplete-input-restart-20261013

Conversation

@pablogsal

@pablogsal pablogsal commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Track incomplete input in the tokenizer and parser, and remove the extra codeop parse. Preserve syntax errors, compiler errors, and trailing-line behavior. Keep the parser layout unchanged on 32-bit builds.

Passed 699 tests on both release and debug builds.

Closes #159465.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve incomplete input detection

1 participant