Andy Balaam added the comment:
I would argue that this makes as_completed a lot more useful than it is now, so
would be worth adding (maybe after 3.7).
But, if this does not go into asyncio, is there another library where it would
belong? Or should this be a completely new library
Andy Balaam added the comment:
bump
--
___
Python tracker
<http://bugs.python.org/issue30782>
___
___
Python-bugs-list mailing list
Unsubscribe:
https://mail.pyth
Changes by Andy Balaam :
--
pull_requests: +2475
___
Python tracker
<http://bugs.python.org/issue30782>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Andy Balaam:
asyncio.as_completed allows us to provide lots of coroutines (or Futures) to
schedule, and then deal with the results as soon as they are available, in a
loop, or a streaming style.
I propose to allow as_completed to work on very large numbers of coroutines
Andy Balaam added the comment:
Just in case it wasn't obvious - the workaround is to create a new
parser (with xml.parsers.expat.ParserCreate()) for every XML file you
want to parse.
--
___
Python tracker
<http://bugs.python.org/i
Andy Balaam added the comment:
I am also seeing this with Python 2.5.2 on Ubuntu.
--
nosy: +andybalaam
___
Python tracker
<http://bugs.python.org/issue6
Andy Balaam <[EMAIL PROTECTED]> added the comment:
Woah! fast response, and what looks like a much more sensible fix.
Thanks Brett.
__
Tracker <[EMAIL PROTECTED]>
<http://bugs.pytho
Andy Balaam <[EMAIL PROTECTED]> added the comment:
Adding Brett Cannon since it looks like his checkin created the test
which fails on my machine. Apologies if this is very bad etiquette. I
couldn't find any guidelines about this in the developers' docs, but
probably tha
New submission from Andy Balaam <[EMAIL PROTECTED]>:
Running test_errno on my 32-bit Ubuntu Gutsy machine gives me this:
$ ./python Lib/test/test_errno.py
test_for_improper_attributes (__main__.ErrnoAttributeTests) ... FAIL
test_using_errorcode (__main__.ErrnoAttributeTests)