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 <1495220027.34.0.997736764263.issue30359@psf.upfronthosting.co.za>
In-reply-to
Content
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 https://github.com/python/peps/pull/242 and the corresponding thread on python-dev: https://www.mail-archive.com/python-dev@python.org/msg95595.html
History
Date User Action Args
2017-05-19 18:53:47levkivskyisetrecipients: + levkivskyi, barry, ncoghlan, njs, yselivanov
2017-05-19 18:53:47levkivskyisetmessageid: <1495220027.34.0.997736764263.issue30359@psf.upfronthosting.co.za>
2017-05-19 18:53:47levkivskyilinkissue30359 messages
2017-05-19 18:53:47levkivskyicreate