Title: Pasting in new REPL is slow · Issue #130328 · python/cpython · GitHub
Open Graph Title: Pasting in new REPL is slow · Issue #130328 · python/cpython
X Title: Pasting in new REPL is slow · Issue #130328 · python/cpython
Description: Bug report Bug description: Pasting large blocks of text in the new REPL is slow. Tested by pasting the following string (3035 characters): test value """12345678901234567890123456789012345678901234567890123456789012345678901234567890123...
Open Graph Description: Bug report Bug description: Pasting large blocks of text in the new REPL is slow. Tested by pasting the following string (3035 characters): test value """1234567890123456789012345678901234567890123...
X Description: Bug report Bug description: Pasting large blocks of text in the new REPL is slow. Tested by pasting the following string (3035 characters): test value """1234567890123456789012345678...
Opengraph URL: https://github.com/python/cpython/issues/130328
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Pasting in new REPL is slow","articleBody":"# Bug report\n\n### Bug description:\n\nPasting large blocks of text in the new REPL is slow. Tested by pasting the following string (3035 characters):\n\u003cdetails\u003e\n\u003csummary\u003etest value\u003c/summary\u003e\n\n```python\n\"\"\"1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\n1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890\"\"\"\n```\n\n\u003c/details\u003e\n\nWhen using the old repl (started via `$env:PYTHON_BASIC_REPL=\"true\"; python` in powershell), pasting the string is near immediate. When using the new repl (started via `python` in powershell), pasting the string takes 15 seconds.\n\nThe closed issue #119517 also mentioned some pasting performance issues, though that was for Linux with significantly more characters.\n\n\n### CPython versions tested on:\n\n3.13\n\n### Operating systems tested on:\n\nWindows\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-130677\n* gh-132884\n* gh-132889\n* gh-133728\n* gh-134653\n* gh-134660\n* gh-134666\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/natedogith1","@type":"Person","name":"natedogith1"},"datePublished":"2025-02-20T01:05:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":25},"url":"https://github.com/130328/cpython/issues/130328"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ca815771-4979-80de-84fb-d4c8c3836b44 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CFE4:2E5741:478113:5CEF48:696B4208 |
| html-safe-nonce | bb9ee9a7782cdd3fd2ef65e988dd36e73cafad031fc61dfdad839d11d668346a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkU0OjJFNTc0MTo0NzgxMTM6NUNFRjQ4OjY5NkI0MjA4IiwidmlzaXRvcl9pZCI6IjUwNTU2NTQ0MTAxNzE2NjI4NTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9aa0c1d409f384cfb7088c01d1a8461cfaea6af166ceb6ebb6cdee2790945bb2 |
| hovercard-subject-tag | issue:2864751743 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/130328/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8489af8944dcce412716b4cc3b0b781179c88f48abd87aa9acf85500b9a8e293/python/cpython/issues/130328 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8489af8944dcce412716b4cc3b0b781179c88f48abd87aa9acf85500b9a8e293/python/cpython/issues/130328 |
| og:image:alt | Bug report Bug description: Pasting large blocks of text in the new REPL is slow. Tested by pasting the following string (3035 characters): test value """1234567890123456789012345678901234567890123... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | natedogith1 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width