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 njs
Recipients asvetlov, njs, vstinner, yselivanov
Date 2018-01-24.01:54:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1516758884.69.0.467229070634.issue32636@psf.upfronthosting.co.za>
In-reply-to
Content
How confident are we that this is a regression from the coroutine origin tracking changes? (I'd double-check myself, but my cpython checkout is tied up for the next few hours doing --enable-optimizations builds.)

Looking at @asyncio.coroutine, in particular this branch that gets taken when debug mode is enabled:

https://github.com/python/cpython/blob/6b273f7f4056f8276f61a97c789d6bb4425e653c/Lib/asyncio/coroutines.py#L135-L149

I'm not seeing anything that would toggle the CO_ITERABLE_COROUTINE flag, and if I use pdb I can see that in the broken test the 'sleeper' function indeed doesn't have that flag set. But I didn't touch that code in the origin tracking patch, which makes me think that the proximal cause here might have been 5f841b553814969220b096a2b4f959b7f6fcbaf6 ?
History
Date User Action Args
2018-01-24 01:54:44njssetrecipients: + njs, vstinner, asvetlov, yselivanov
2018-01-24 01:54:44njssetmessageid: <1516758884.69.0.467229070634.issue32636@psf.upfronthosting.co.za>
2018-01-24 01:54:44njslinkissue32636 messages
2018-01-24 01:54:43njscreate