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 achimnol
Recipients achimnol, asvetlov, njs, yselivanov
Date 2018-01-10.09:39:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1515577162.33.0.467229070634.issue32526@psf.upfronthosting.co.za>
In-reply-to
Content
Here is the minimal example code:

https://gist.github.com/achimnol/965a6aecf7b1f96207abf11469b68965

Just run this code using "python -m pytest -s test.py" to see what happens.
(My setup uses Python 3.6.4 and pytest 3.3.2 on macOS High Sierra 10.13.2)

I tried the same logic using synchornous APIs such as threading.Thread / time.sleep instead of loop.create_task / asyncio.sleep, it raised "ValueError: generator already executing" when tried to close the generator.
History
Date User Action Args
2018-01-10 09:39:22achimnolsetrecipients: + achimnol, njs, asvetlov, yselivanov
2018-01-10 09:39:22achimnolsetmessageid: <1515577162.33.0.467229070634.issue32526@psf.upfronthosting.co.za>
2018-01-10 09:39:22achimnollinkissue32526 messages
2018-01-10 09:39:22achimnolcreate