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, giampaolo.rodola, ncoghlan, njs, yselivanov
Date 2018-01-29.05:55:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
So refactoring it into "c = open_file(); async with c" just prolongs the life of the coroutine so that it's GCed outside of WITH_CLEANUP_START/WITH_CLEANUP_FINISH block.  Something weird is going on in that block.
Date User Action Args
2018-01-29 05:55:54yselivanovsetrecipients: + yselivanov, ncoghlan, giampaolo.rodola, njs, asvetlov
2018-01-29 05:55:54yselivanovsetmessageid: <>
2018-01-29 05:55:54yselivanovlinkissue32703 messages
2018-01-29 05:55:54yselivanovcreate