The "loop and a half"

Grant Edwards grant.b.edwards at gmail.com
Sun Oct 8 11:48:11 EDT 2017


On 2017-10-08, eryk sun <eryksun at gmail.com> wrote:
> On Sun, Oct 8, 2017 at 10:12 AM, Steve D'Aprano
><steve+python at pearwood.info> wrote:
>> On Sun, 8 Oct 2017 02:06 am, bartc wrote:
>>
>>> Especially on
>>> Windows where the usual Ctrl C doesn't work, so you resort to Ctrl-Break
>>> will which actually abort it. Ctrl Z is uncommon.
>>
>> Thousands of Python programmers on Windows successfully learned to use Ctrl-Z
>> ENTER back in the days of Python 1.5, before quit/exit were added as a
>> convenience for beginners, and many of them probably still use it.
>
> Using Ctrl+Z (0x1A) isn't specific to Python. The Windows CRT's
> text-mode I/O inherits this from MS-DOS, which took it from CP/M.

Which took it from RSX-11.  Or probably more specifically from
FILES-11.  I woldn't be surprised if the enineers at DEC got it from
somewhere else before that.

-- 
Grant





More information about the Python-list mailing list