Message388115
When evaluting a call to the `print` function with argument `end=''` in the IDLE shell, a newline is unexpectedly added at the end, before the next shell prompt.
The expected behavior is to have the shell prompt next to the last printed line. The expected behavior is seen when evaluting the same expression in an interactive python shell from a terminal (`python -i`)
Example:
IDLE shell (not expected):
>>> print('a',end='')
a
>>>
Interactive python shell (expected):
>>> print('a',end='')
a>>>
I could not find any settings in IDLE that might be governing this behavior, not any other issues mentioning this same thing.
Tested on Python 3.9.1 on Manjaro Linux. |
|
Date |
User |
Action |
Args |
2021-03-04 18:14:22 | hugonobrega | set | recipients:
+ hugonobrega, terry.reedy |
2021-03-04 18:14:22 | hugonobrega | set | messageid: <1614881662.35.0.881061659082.issue43402@roundup.psfhosted.org> |
2021-03-04 18:14:22 | hugonobrega | link | issue43402 messages |
2021-03-04 18:14:22 | hugonobrega | create | |
|