I might be wrong, but from my point of view it is about the API
proposed.
The asyncio API is far more rich of new concept than curio one
there are at least protocols, ioloop
and to my knowledge you can't do write similar code of the
tutorial
without using protocol and ioloop
at the opposite, the only new concept bring by the main of curio
tutorial are
- the run function
- the await, async keyword
The other api are copy paste to the synchrone ones
Yes, this is something that has to be fixed in asyncio docs. Protocols/transports are advanced low level concepts, you don’t need to even know about them to use asyncio programs. I’ll try to find some time to work on the docs before 3.6 is released... Yury
If I don't mistake, that is the high level api
https://docs.python.org/3.6/library/asyncio-stream.html#tcp-echo-client-using-streams
looks like the api is different than sync ones (with notably one
reader and one writer) and that the loop is needed everywhere