A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2015-December/142525.html below:

[Python-Dev] Asynchronous context manager in a typical network server

[Python-Dev] Asynchronous context manager in a typical network server [Python-Dev] Asynchronous context manager in a typical network serverGlenn Linderman v+python at g.nevcal.com
Fri Dec 18 14:29:23 EST 2015
On 12/18/2015 10:36 AM, Guido van Rossum wrote:
>
>     I was opted to the signal module because `signal` documentation
>     suggest that
>     it alos supports Windows while asyncio documentation states that
>     `loop.
>     add_signal_handler()` is UNIX only.
>
>
> 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.

Does this mean Windows users should not bother trying to use asyncio ?

(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.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20151218/e55eb253/attachment.html>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4