Skip to content

gh-130328: Faster Windows new REPL paste #130677

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from

Conversation

devdanzin
Copy link
Contributor

@devdanzin devdanzin commented Feb 28, 2025

This WIP PR attempts to make pasting into the Windows REPL faster by:

  • Batching event processing;
  • Reading 32 chars from input instead of 1;
  • Reducing Reader.console.wait() from 100 to 10.

It's being submitted to simplify testing the approach and will be improved based on feedback.
Current code makes some tests fail, I'll fix those soon.

@python-cla-bot
Copy link

python-cla-bot bot commented Apr 18, 2025

All commit authors signed the Contributor License Agreement.

CLA signed

@AA-Turner AA-Turner changed the title gh-130328: Faster Windows new REPL paste (DO NOT MERGE) gh-130328: Faster Windows new REPL paste Apr 20, 2025
@devdanzin devdanzin closed this Apr 24, 2025
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.

2 participants