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.

Author eryksun
Recipients eryksun, mixmastamyk, paul.moore, steve.dower, tim.golden, zach.ware
Date 2020-12-28.20:30:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1609187447.74.0.105667128602.issue42771@roundup.psfhosted.org>
In-reply-to
Content
> As the legacy cmd.exe can be easily replaced, that leaves python.exe. 

python.exe is a console application, which attaches to a console session. Since Windows 7, each console session is hosted by an instance of conhost.exe.

The CMD shell (cmd.exe) is a console application, the same as python.exe. It doesn't matter whether Python allocates a new console or inherits it from another process such as cmd.exe.

> Likely needs to be configured via readline or its analog used under 
> Windows.

pyreadline implements readline for the Windows console API via ctypes. It supports Ctrl+L to clear the screen, including the scrollback. PSReadLine in PowerShell implements Ctrl+L without clearing the scrollback. That's a better example to follow if someone wants to take up the ambitious project of supporting readline for Windows in the standard library.
History
Date User Action Args
2020-12-28 20:30:47eryksunsetrecipients: + eryksun, paul.moore, tim.golden, mixmastamyk, zach.ware, steve.dower
2020-12-28 20:30:47eryksunsetmessageid: <1609187447.74.0.105667128602.issue42771@roundup.psfhosted.org>
2020-12-28 20:30:47eryksunlinkissue42771 messages
2020-12-28 20:30:47eryksuncreate