Wykres commitów

7 Commity (6e61c501ac7b92e569e57ca5db7a63fd0a820b17)

Autor SHA1 Wiadomość Data
Paul Sokolovsky 6e61c501ac asyncio_micro: Support readall semantics and handle non-blocking read() well.
Non-blocking read()/write() may return None if there's no data, and that's
not EOF.
2014-10-21 01:31:58 +03:00
Paul Sokolovsky fe85cca848 asyncio_micro: Add support for starting a coroutine concurrently.
Just yield it as a value. Also, improve logging/error reporting.
2014-10-21 01:31:58 +03:00
Paul Sokolovsky bfaf6b8d19 asyncio_micro: IODone syscall should return to coroutine. 2014-10-21 01:31:58 +03:00
Paul Sokolovsky acd25d05fc asyncio_micro: Implement start_server(). 2014-10-21 01:31:58 +03:00
Paul Sokolovsky b86919a6ff asyncio_micro: StreamReader, StreamWriter: add more methods. 2014-10-21 01:31:58 +03:00
Paul Sokolovsky 1c647189f1 asyncio_micro: Work around stupid Python closures.
Which don't close variables, just variable references.
2014-10-21 01:31:58 +03:00
Paul Sokolovsky 0b5ca354e2 asyncio_micro: Rename from asyncio.
As this is not compliant with asyncio API, can't be called asyncio, and
"micro" is just good moniker for what it's intended to be.
2014-10-21 01:31:58 +03:00