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 Ben.Darnell, Yury.Selivanov, asvetlov, gvanrossum, martin.panter, ncoghlan, scoder, vstinner, yselivanov
Date 2015-06-19.16:27:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1434731270.02.0.735524854474.issue24400@psf.upfronthosting.co.za>
In-reply-to
Content
New patch is attached.

Updates:

1. Coroutine type now has 'cr_*' slots *both* in Python *and* in C.

2. set_coroutine_wrapper now works *only* on coroutines created by 'async def' functions (generators wrapped with types.coroutine won't be intercepted).

3. RuntimeWarning that coroutine wasn't ever awaited will be raised *only* for 'async def' coroutines.

4. Coroutine objects no longer have 'CO_GENERATOR' flag.
History
Date User Action Args
2015-06-19 16:27:52yselivanovsetrecipients: + yselivanov, gvanrossum, ncoghlan, scoder, vstinner, asvetlov, Yury.Selivanov, Ben.Darnell, martin.panter
2015-06-19 16:27:50yselivanovsetmessageid: <1434731270.02.0.735524854474.issue24400@psf.upfronthosting.co.za>
2015-06-19 16:27:49yselivanovlinkissue24400 messages
2015-06-19 16:27:49yselivanovcreate