Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Windows] Python 3.13 New REPL prompt swallows characters with print(..., end=" ") #128067

Closed
Labels
3.13bugs and security fixes3.14bugs and security fixes3.15new features, bugs and security fixesOS-windowsstdlibStandard Library Python modules in the Lib/ directorytopic-replRelated to the interactive shelltype-bugAn unexpected behavior, bug, or error
@cessor

Description

@cessor

Bug report

Bug description:

I encountered the following unexpected behavior when working with the new REPL on Windows 10'scmd just now:

Actual Behavior

>>>foriinrange(0,14,2):...print(i,end=" ")...>>>4681012
  • When I use print and pass an argument to theend-parameter, the resulting line is missing 4 characters.
  • The four chars of the REPL prompt>>> appear to write over the line, as the cursor blinks on the first visible position (indicator sits under the number 4)
  • Typing overwrites the shown chars.

Expected Behavior

>>>foriinrange(0,14,2):...print(i,end=" ")...024681012>>>_
  • REPL on Python 3.12 works as expected.
  • Results are printed in one line, prompt appears at the end, cursor follows at end of line.

Note:

This works as expected:

>>>foriinrange(0,14,2):...print(i)...024681012

CPython versions tested on:

3.13

Operating systems tested on:

Windows

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13bugs and security fixes3.14bugs and security fixes3.15new features, bugs and security fixesOS-windowsstdlibStandard 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


      [8]ページ先頭

      ©2009-2026 Movatter.jp