Louie Lu added the comment:
Other operation which will block the process will do the same as time.sleep(),
too.
>>> import socket
>>> s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
>>> s.bind(('', 25000))
>>> s.recv(100)
<Control-C>
IDLE will ignore this control-c, too.
----------
nosy: +louielu
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue29926>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com