On 26/06/2012 20:02, Terry Reedy wrote:
> On 6/26/2012 6:51 AM, Devin Jeanpierre wrote:
> 
>> The issue is that sometimes, if you press ctrl-c on Windows, instead
>> of raising a KeyboardInterrupt, Python will exit completely. Because
>> of this, any program that relies on ctrl-c/KeyboardInterrupt is not
>> guaranteed to work on windows. Also, working with the interactive
>> interpreter becomes really annoying for those with the habit of
>> deleting the whole input line via ctrl-c.
> 
> Idle Shell, 3.3.0a4, Win 7does not seem to have this problem. Still up
> after 6000 ^Cs. It is better anyway, in multiple ways, than Command
> Prompt. (That does not help batch-mode programs, though.)
> 
> That aside, perhaps the way it handles ^C might help.
> 
> I did get the CP to close four times, each time after a few hundred to
> maybe a thousand ^Cs. It seems to require more than just one held down
> key press. I suspect the closures happened after the limited line buffer
> was filled and it was starting to delete the earliest lines.
> 

I've just updated the call with as much as I had time for just now.

Your point about IDLE made me think; I installed pyreadline
and now I can't get it to fail at all. Seems to point even
more to myreadline.c.

More later

TJG
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to