asyncio
asyncio copied to clipboard
asyncio historical repository
It is standardized feature: http://pubs.opengroup.org/onlinepubs/9699919799/functions/send.html
Hi there :-) I hope I'm reporting this to the right place, let me know if this isn't it. I noticed there is support for UNIX sockets in asyncio, but...
Hi, I'm making lots of background tasks via `asyncio.async`, but it often floods output with tons of ``` Task was destroyed but it is pending! task: ``` Reading the source...
Add more highlights in docs and examples that coroutines definitions always depend on loop context
Hello, everyone! This is more discussion issue than bug report or kind of. For my opinion code examples in official asyncio docs are broken. Well, not totally broken of course,...
On Windows, asyncio servers sometimes print such log messages when clients disconnect: ``` ERROR:master:asyncio:Fatal write error on pipe transport protocol: transport: Traceback (most recent call last): File "C:\Users\User\Miniconda3\lib\asyncio\proactor_events.py", line 283,...
The following program intermittently gets a invalid handle error from `self.server[0].close()`. ``` python from functools import partial import asyncio loop = asyncio.ProactorEventLoop() asyncio.set_event_loop(loop) class Bug: def _child_connected(self, reader, writer): self.server[0].close()...
Hello. I have a very hard time trying to create a rediculously simple project. A single UDP socket that (with the use of asyncio) will wait for input from the...
``` See http://tools.ietf.org/html/rfc6555 See also the HostnameEndpoint class in Twisted (new in Twisted 13.2). ``` Original issue reported on code.google.com by `[email protected]` on 12 Nov 2013 at 10:10
Based on exactly what was released with Python 3.4.4. (The last pypi release is 3.4.3.)
Echo client ``` import asyncio loop = asyncio.get_event_loop() coro = asyncio.open_connection('127.0.0.1', 4001) reader, writer = loop.run_until_complete(coro) writer.write(b'hello') writer.write_eof() # bug: it just return and cannot get echo_msg msg = loop.run_until_complete(reader.read(-1))...