Terry J. Reedy <tjre...@udel.edu> added the comment:

Zachary determined that the issue is that writing calls 
iomenu.IOBinding.fixlastline, which unconditionally adds \n at the end if there 
is one.  That is not needed for the Shell and wrong when it ends with a prompt, 
which is the normal case.

----------
versions: +Python 3.7, Python 3.8, Python 3.9 -Python 3.5, Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue26353>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to