Message311060
Changing async def main(): async with open_file(): pass to async def main(): c = open_file() async with c: pass also makes it print the warning :) Also I've made a test out of this snippet and running tests in refleak mode shows that there's indeed no refleak here. | |
| Date | User | Action | Args | | 2018-01-29 05:51:34 | yselivanov | set | recipients: + yselivanov, ncoghlan, giampaolo.rodola, njs, asvetlov | | 2018-01-29 05:51:34 | yselivanov | set | messageid: <1517205094.51.0.467229070634.issue32703@psf.upfronthosting.co.za> | | 2018-01-29 05:51:34 | yselivanov | link | issue32703 messages | | 2018-01-29 05:51:34 | yselivanov | create | | |