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 steven.daprano
Recipients steven.daprano, trey
Date 2021-01-30.00:00:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Ctrl-C is a red-herring here. Esc-Enter alone is sufficient to switch control processing.

Tested in Python 2.7 and 3.9 using xfce4-terminal in Fedora:

1. Ctrl-L clears the terminal window;
2. Type Esc-Enter;
3. Ctrl-L now inserts an actual ^L (chr(12) linefeed) instead of being captured by the terminal and clearing the screen.

I am 80% sure this is a *terminal feature* not a Python bug, to allow you to insert control characters into the command line, but I can't reproduce it in bash or find a way to revert back to normal processing.
Date User Action Args
2021-01-30 00:00:53steven.dapranosetrecipients: + steven.daprano, trey
2021-01-30 00:00:53steven.dapranosetmessageid: <>
2021-01-30 00:00:53steven.dapranolinkissue43070 messages
2021-01-30 00:00:53steven.dapranocreate