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 gvanrossum
Recipients glangford, gvanrossum, pitrou, vstinner
Date 2014-02-08.21:16:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1391894219.09.0.260276647412.issue20566@psf.upfronthosting.co.za>
In-reply-to
Content
Yup, I remember feeling a bit guilty doing it this way, but at least the semantics are correctly, and there were bigger fish to fry. Thanks for the test code that proves the issue!

I assume it can be fixed by not using _wait() but some custom approach. If we get this done by RC2, fine, otherwise we'll just have to documented that this is O(N**2) and not to use it for large numbers of tasks until the fix lands, perhaps in 3.4.1. (Usually there's a solution that avoids as_completed() altogether.)

I've created upstream bug http://code.google.com/p/tulip/issues/detail?id=127 to track this.
History
Date User Action Args
2014-02-08 21:16:59gvanrossumsetrecipients: + gvanrossum, pitrou, vstinner, glangford
2014-02-08 21:16:59gvanrossumsetmessageid: <1391894219.09.0.260276647412.issue20566@psf.upfronthosting.co.za>
2014-02-08 21:16:59gvanrossumlinkissue20566 messages
2014-02-08 21:16:58gvanrossumcreate