[issue40709] Malfunctioning of '\r'

2020-05-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 3.5, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___ ___

[issue40709] Malfunctioning of '\r'

2020-05-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Discussed on #23220. Note that 'sciencecomputer' is a different possible result if \r does not switch the simulated terminal from the normal insert mode to overwrite mode. I am considering terminal simulation as an option, but there is not exactly a

[issue40709] Malfunctioning of '\r'

2020-05-21 Thread Ezio Melotti
Ezio Melotti added the comment: The behavior of \r depends on the operating system and terminal you are using, and not on Python itself. -- assignee: terry.reedy -> ezio.melotti nosy: +ezio.melotti resolution: -> not a bug stage: -> resolved status: open -> closed type: performance

[issue40709] Malfunctioning of '\r'

2020-05-21 Thread Sanmitha
Sanmitha added the comment: The escape sequence '\r' (carriage return) doesn't function in 3.x and 2.x versions. Eg: print("computer\rscience") Expected output : sciencer But, it displays computerscience without the functioning of'\r' -- Added file:

[issue40709] Malfunctioning of '\r'

2020-05-21 Thread Sanmitha
New submission from Sanmitha : The escape sequence '\r' (carriage return) doesn't function in 3.x and 2.x versions. Eg: print("computer\rscience") Expected output : sciencer But, it displays computerscience without the functioning of'\r' -- assignee: terry.reedy components: IDLE