homepage

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 yselivanov
Recipients asvetlov, gvanrossum, ncoghlan, vstinner, yselivanov
Date 2015年12月16日.21:51:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1450302672.61.0.939075659371.issue25888@psf.upfronthosting.co.za>
In-reply-to
Content
This problem was discussed in one of the asyncio issues here: https://github.com/python/asyncio/issues/288
I propose to raise a RuntimeError if an 'await' expression is used for a coroutine object that's being awaited on already. This change shouldn't impact performance in any way. It will prevent users from writing code that behaves in a very weird ways (see the github link for an example).
History
Date User Action Args
2015年12月16日 21:51:12yselivanovsetrecipients: + yselivanov, gvanrossum, ncoghlan, vstinner, asvetlov
2015年12月16日 21:51:12yselivanovsetmessageid: <1450302672.61.0.939075659371.issue25888@psf.upfronthosting.co.za>
2015年12月16日 21:51:12yselivanovlinkissue25888 messages
2015年12月16日 21:51:12yselivanovcreate

AltStyle によって変換されたページ (->オリジナル) /