Author levkivskyi
Recipients barry, levkivskyi, ncoghlan, njs, yselivanov
Date 2017-05-19.18:53:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Or you can use typing.ContextManager[ret_type] if you like generics
(typing.AsyncContextManager will be also added soon).

Also this recent discussion seems relevant and the corresponding thread on python-dev:
Date User Action Args
2017-05-19 18:53:47levkivskyisetrecipients: + levkivskyi, barry, ncoghlan, njs, yselivanov
2017-05-19 18:53:47levkivskyisetmessageid: <>
2017-05-19 18:53:47levkivskyilinkissue30359 messages
2017-05-19 18:53:47levkivskyicreate