Skip to content

Pasting large blocks of code into the console causes the code to be truncated #137979

Closed as duplicate

Description

@MengAiDev

Bug report

Bug description:

  1. build python and start python shell
  2. paste a lot of code to the console, I use code from JSON (output) support for sqlite3 #137974
  3. you will find the code broken, like this two pictures
Image Image

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux

Activity

  1. StanFromIreland commented on Aug 20, 2025

    @StanFromIreland
    Member

    Does this happen after you zoom out or scroll up? There are is a duplicate report of that, #129220.

  2. added
    pendingThe issue will be closed if no feedback is provided
    topic-replRelated to the interactive shell
    stdlibStandard Library Python modules in the Lib/ directory
    on Aug 20, 2025
  3. MengAiDev commented on Aug 20, 2025

    @MengAiDev
    Author

    @StanFromIreland Not, I just paste it and I don't do anything. I tried Bash shell in vscode and Jupyter notebook.

  4. StanFromIreland commented on Aug 21, 2025

    @StanFromIreland
    Member

    I see, that is interesting. I can not reproduce, are you sure you didn’t scroll up? What terminal are you using?

  5. removed
    pendingThe issue will be closed if no feedback is provided
    on Aug 21, 2025
  6. MengAiDev commented on Aug 30, 2025

    @MengAiDev
    Author

    @StanFromIreland sorry, i haven't seen the message, I use the bash shell in jupyter notebook terminal and the built in terminal of vscode. I tried fiah shell, but the bug still. I use the modelscope notebook, you can see it at modelscope.cn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytopic-replRelated to the interactive shelltype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions