2014-03-27 22:52 GMT+01:00 Josiah Carlson <josiah.carl...@gmail.com>: > * Because it is example docs, maybe a multi-week bikeshedding discussion > about API doesn't need to happen (as long as "read line", "read X bytes", > "read what is available", and "write this data" - all with timeouts - are > shown, people can build everything else they want/need)
I don't understand this point. Using asyncio, you can read and write a single byte or a whole line. Using functions like asyncio.wait_for(), it's easy to add a timeout on such operation. Victor _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com