Python 3.13 REPL on Windows Terminal is chopping off the first four characters printed if end
parameter is used in print
function
#128809
Labels
3.13
bugs and security fixes
3.14
new features, bugs and security fixes
OS-windows
stdlib
Python modules in the Lib dir
topic-repl
Related to the interactive shell
type-bug
An unexpected behavior, bug, or error
Bug report
Bug description:
If I use the end parameter in print function, the first four characters (including whitespaces) of the output are chopped off. I have tried using other Python versions (3.10 - 3.12) and everything works well. It is somewhat strange that this happens only on Python 3.13 REPL in Windows Terminal or Command Prompt. Consider the MRE below:
prints:
456789
. Numbers 0, 1, 2, and 3 are missing.Also
prints
t|
instead offirst|
. Characters 'f', 'i', 'r', 's' are missing.My specific version is Python 3.13.0. I'd like to know if this is happening because I'm on a Windows machine or is it an issue with Python 3.13.0? Thanks.
CPython versions tested on:
3.10, 3.11, 3.12, 3.13
Operating systems tested on:
Windows
The text was updated successfully, but these errors were encountered: