how to make a SimpleXMLRPCServer abort at CTRL-C under windows

Aahz aahz at pythoncraft.com
Fri Feb 12 15:22:40 CET 2010


In article <mailman.2422.1265961504.28905.python-list at python.org>,
Dennis Lee Bieber  <wlfraed at ix.netcom.com> wrote:
>On 11 Feb 2010 21:18:26 -0800, aahz at pythoncraft.com (Aahz) declaimed the
>following in gmane.comp.python.general:
>> In article <mailman.2077.1265524158.28905.python-list at python.org>,
>> Gabriel Genellina <gagsl-py2 at yahoo.com.ar> wrote:
>>>
>>>Strange. With Python 2.6.4 I don't need to do that; I'd say the difference  
>>>is in the OS or antivirus (some AV are known to break the TCP stack).
>> 
>> Perhaps, but I've also found that ctrl-C doesn't work on Windows.
>
>	Unless the running program makes an I/O call to the console, I don't
>think <ctrl-c> gets past the device driver... <G>

That's probably it.  It's more annoying for me because I run Windows with
a VM on a Mac, which doesn't have ctrl-break.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"At Resolver we've found it useful to short-circuit any doubt and just        
refer to comments in code as 'lies'. :-)"



More information about the Python-list mailing list