◐ Shell
clean mode source ↗

gh-130328: Faster Windows new REPL paste by devdanzin · Pull Request #130677 · python/cpython

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@devdanzin

@devdanzin devdanzin commented

Feb 28, 2025

edited by bedevere-app Bot

Loading

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

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

Labels

2 participants

@devdanzin @AA-Turner