A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2014-March/133628.html below:

[Python-Dev] Status of PEP 3145

[Python-Dev] Status of PEP 3145 - Asynchronous I/O for subprocess.popen [Python-Dev] Status of PEP 3145 - Asynchronous I/O for subprocess.popenVictor Stinner victor.stinner at gmail.com
Fri Mar 28 00:24:34 CET 2014
2014-03-27 22:52 GMT+01:00 Josiah Carlson <josiah.carlson at 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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4