GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Odd behavior from pasting large text in the new REPL · Issue #119517 · python/cpython Closed Labels topic-replRelated to the interactive shellRelated to the interactive shelltype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error DescriptionBug reportBug description:This is a description of a few bugs related to paste mode in the new REPL. Blank linesI tried copy-pasting the first 604 lines of this copy of Frankenstein (about 32,000 characters). After pasting, when I scroll up in my terminal I see 1 additional line above the currently visible lines (the 61 last lines) and then I see 543 blank lines. It seems that the first 543/604 lines show up as blank and the last 61 lines do not. >>> f = """ [539 more blank lines] ... appreciate the extraordinary merits of this wonderful man. Sometimes I ... have endeavoured to discover what quality it is which he possesses that [57 more lines of text] ... embraced the gallant vessel on its course and wrecked it--thus! ... """ >>> I assume this behavior may have been for the purpose of enhancing performance. Paste performance and Ctrl+CWhen pasting the full 7,652 line (441,033 character) text of Frankenstein takes about 21 seconds. The most concerning part about the slow pasting is that the terminal is entirely locked during pasting. CPython versions tested on:3.13 Operating systems tested on:Linux Linked PRsActivity
MetadataMetadataAssigneesLabelstopic-replRelated to the interactive shellRelated to the interactive shelltype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error ProjectsMilestoneRelationshipsDevelopmentIssue actions |
| 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. |