This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: IDLE shell Windows EOL
Type: behavior Stage: resolved
Components: IDLE Versions: Python 3.10
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: terry.reedy Nosy List: harshness, terry.reedy
Priority: normal Keywords:

Created on 2021-10-20 22:05 by harshness, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (2)
msg404530 - (view) Author: Lee Bosch (harshness) Date: 2021-10-20 22:05
The IDLE shell for Windows doesn't respect carriage returns in output strings.

When using a '\r' as sep, end or as part of the output strings, IDLE ignores it and I get linear output rather than each successive line printing over the previous output.  The same code works as expected in a conventional Windows shell (i.e. COMMAND).
msg404535 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2021-10-20 23:00
The current behavior is documented in Help => IDLE Help "User output in Shell".
History
Date User Action Args
2022-04-11 14:59:51adminsetgithub: 89706
2021-10-20 23:00:15terry.reedysetstatus: open -> closed
resolution: not a bug
messages: + msg404535

stage: resolved
2021-10-20 22:05:10harshnesscreate