Skip to content

gh-150582: Use _winapi for _pyrepl console mode and input flush - #160758

Merged
pablogsal merged 2 commits into
python:mainfrom
aisk:pyrepl-console-mode
Nov 26, 2026
Merged

pablogsal merged 2 commits into
python:mainfrom
aisk:pyrepl-console-mode

Conversation

@aisk

@aisk aisk commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

@aisk

aisk commented Oct 27, 2026

Copy link
Copy Markdown
Member Author

Hi @chris-eibl can you help review this?

@chris-eibl chris-eibl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @aisk. This LGTM. I've also done a quick local run.

To me, these three new funcs in _winapi make sense without any _pyrepl_ prefix or comment (#150582 (comment)), but I'd appreciate @zooba's sentiment.

@aisk

aisk commented Oct 28, 2026

Copy link
Copy Markdown
Member Author

Thanks @aisk. This LGTM. I've also done a quick local run.

To me, these three new funcs in _winapi make sense without any _pyrepl_ prefix or comment (#150582 (comment)), but I'd appreciate @zooba's sentiment.

Sorry I just missed @zooba's comment on the original issue. And I agree with @chris-eibl because at least these three functions are generic enough to not need a prefix.

@chris-eibl

Copy link
Copy Markdown
Member

This has been sitting long enough and I am gonna merge within the next days if there are no objections.

@pablogsal
pablogsal merged commit 7636e83 into python:main Nov 26, 2026
66 checks passed
@aisk
aisk deleted the pyrepl-console-mode branch November 26, 2026 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants