Latest asyncio update: it has a new asyncio.subprocess submodule which
provides a high-level API to control subprocesses, similar to
subprocess.Popen but using asyncio event loop (and so is
asynchronous).
It solves the following old and tricky issue:
http://bugs.python.org/issue12187
On 27Jan2014 09:15, Devin Jeanpierre jeanpierr...@gmail.com wrote:
On Mon, Jan 27, 2014 at 5:21 AM, Victor Stinner
victor.stin...@gmail.com wrote:
- asyncio.IncompleReadError.expected is the total expected size, not
the remaining size
Why not be consistent with the meaning of
Hi,
I'm working for eNovance on the asyncio module, the goal is to use it
in the huge OpenStack project (2.5 millions line of code) which
currently uses eventlet. I'm trying to fix remaining issues in the
asyncio module before Python 3.4 final.
The asyncio project is very active but discussions
On Mon, 27 Jan 2014 10:45:37 +0100
Victor Stinner victor.stin...@gmail.com wrote:
- Tulip #111: StreamReader.readexactly() now raises an
IncompleteReadError if the
end of stream is reached before we received enough bytes, instead of returning
less bytes than requested.
Why not simply
2014-01-27 Antoine Pitrou solip...@pitrou.net:
On Mon, 27 Jan 2014 10:45:37 +0100
Victor Stinner victor.stin...@gmail.com wrote:
- Tulip #111: StreamReader.readexactly() now raises an
IncompleteReadError if the
end of stream is reached before we received enough bytes, instead of
returning
On 27 January 2014 10:55, Victor Stinner victor.stin...@gmail.com wrote:
2014-01-27 Antoine Pitrou solip...@pitrou.net:
On Mon, 27 Jan 2014 10:45:37 +0100
Victor Stinner victor.stin...@gmail.com wrote:
- Tulip #111: StreamReader.readexactly() now raises an
IncompleteReadError if the
2014-01-27 Gustavo Carneiro gjcarne...@gmail.com:
Why not simply EOFError?
IncompleteReadError has two additionnal attributes:
- partial: incomplete received bytes
- expected: total number of expected bytes (n parameter of readexactly)
I prefer to use a different exception to ensure that
27.01.14 12:55, Victor Stinner написав(ла):
IncompleteReadError has two additionnal attributes:
- partial: incomplete received bytes
- expected: total number of expected bytes (n parameter of readexactly)
This looks similar to http.client.IncompleteRead.
2014-01-27 Serhiy Storchaka storch...@gmail.com:
27.01.14 12:55, Victor Stinner написав(ла):
IncompleteReadError has two additionnal attributes:
- partial: incomplete received bytes
- expected: total number of expected bytes (n parameter of readexactly)
This looks similar to
On Mon, Jan 27, 2014 at 5:21 AM, Victor Stinner
victor.stin...@gmail.com wrote:
- asyncio.IncompleReadError.expected is the total expected size, not
the remaining size
Why not be consistent with the meaning of
http.client.IncompleteRead.expected? The current meaning can be
recovered via
10 matches
Mail list logo