GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-130328: Faster Windows new REPL paste by devdanzin · Pull Request #130677 · python/cpython

Conversation

@devdanzin

@devdanzin devdanzin commented Feb 28, 2025 •
edited by bedevere-app Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

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.

  • Issue: Pasting in new REPL is slow #130328

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
devdanzin added 5 commits February 23, 2025 08:46
@devdanzin
WIP: try to speed up pasting in Windows PyREPL.
460b62d
@devdanzin
Merge branch 'main' into faster_windows_pyrepl_paste2
6d93985
@devdanzin
Merge main.
2de7b79
@devdanzin
Remove file that was wrongly added.
2b1e338
@devdanzin
Merge branch 'main' into faster_windows_pyrepl_paste2
5cbecfc
@bedevere-app bedevere-app Bot mentioned this pull request Feb 28, 2025
Pasting in new REPL is slow #130328
Closed
@devdanzin devdanzin mentioned this pull request Feb 28, 2025
WIP: try to speed up pasting in Windows PyREPL. devdanzin/cpython#1
Closed
@python-cla-bot

python-cla-bot Bot commented Apr 18, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@AA-Turner AA-Turner added the DO-NOT-MERGE label Apr 20, 2025
@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

Reviewers

@pablogsal pablogsal Awaiting requested review from pablogsal pablogsal will be requested when the pull request is marked ready for review pablogsal is a code owner
@lysnikolaou lysnikolaou Awaiting requested review from lysnikolaou lysnikolaou will be requested when the pull request is marked ready for review lysnikolaou is a code owner
@ambv ambv Awaiting requested review from ambv ambv will be requested when the pull request is marked ready for review ambv is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

DO-NOT-MERGE

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@devdanzin @AA-Turner
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.