Skip to content

gh-159465: Improve incomplete input detection - #159466

Merged
pablogsal merged 3 commits into
python:mainfrom
pablogsal:prototype/incomplete-input-restart-20261013
Oct 18, 2026
Merged

pablogsal merged 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.

Closes #159465.

@pablogsal
pablogsal marked this pull request as ready for review October 18, 2026 10:54
@pablogsal
pablogsal merged commit 6af6553 into python:main Oct 18, 2026
82 of 84 checks passed
@pablogsal
pablogsal deleted the prototype/incomplete-input-restart-20261013 branch October 18, 2026 10:54
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