<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#330033">
<div class="moz-cite-prefix">On 12/18/2015 10:36 AM, Guido van
Rossum wrote:<br>
</div>
<blockquote
cite="mid:CAP7+vJ+6tsJCMZ2j3YCBzhv7KJzRhSRektsuDVRFhZcKhWLJEQ@mail.gmail.com"
type="cite">
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">I was opted to
the signal module because `signal` documentation suggest that<br>
it alos supports Windows while asyncio documentation states that
`loop.<br>
add_signal_handler()` is UNIX only.<span class=""><br>
</span></blockquote>
<div><br>
</div>
<div>Unfortunately that's true, but using the signal module with
asyncio the way you did is *not* safe. The only safe way is to
use the loop.add_signal_handler() interface.</div>
</blockquote>
<br>
Does this mean Windows users should not bother trying to use asyncio
?<br>
<br>
(I haven't yet, due to lack of time, but I'd hate to think of folks,
including myself in the future, investing a lot of time developing
something and then discover it can never be reliable, due to this
sort of "unsafe" or "not-available-on-Windows" feature.)<br>
</body>
</html>