This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Paulo Costa, gvanrossum, vstinner, yselivanov
Date 2016-02-02.22:26:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1454451995.03.0.882507026133.issue26270@psf.upfronthosting.co.za>
In-reply-to
Content
IMHO you misunderstood asyncio design. See examples.

Using add_reader(), lowest level API:
* https://docs.python.org/dev/library/asyncio-eventloop.html#watch-a-file-descriptor-for-read-events

Using a protocol:
* https://docs.python.org/dev/library/asyncio-protocol.html#tcp-echo-client-protocol
* https://docs.python.org/dev/library/asyncio-protocol.html#udp-echo-client-protocol

Using a stream:
* https://docs.python.org/dev/library/asyncio-stream.html#tcp-echo-client-using-streams
* https://docs.python.org/dev/library/asyncio-stream.html#get-http-headers

etc.
History
Date User Action Args
2016-02-02 22:26:35vstinnersetrecipients: + vstinner, gvanrossum, yselivanov, Paulo Costa
2016-02-02 22:26:35vstinnersetmessageid: <1454451995.03.0.882507026133.issue26270@psf.upfronthosting.co.za>
2016-02-02 22:26:35vstinnerlinkissue26270 messages
2016-02-02 22:26:34vstinnercreate