[Async-sig] async contextmanager

Alex Grönholm alex.gronholm at nextday.fi
Tue Nov 1 13:11:30 EDT 2016


Certainly. You can use asyncio_extras for that: 
http://pythonhosted.org/asyncio_extras/#asyncio-extras-contextmanager


01.11.2016, 18:15, Federico Marani kirjoitti:
> Has anyone tried to build an asynchronous version of @contextmanager? 
> Is it even possible... given the use of yield?
>
>
> _______________________________________________
> Async-sig mailing list
> Async-sig at python.org
> https://mail.python.org/mailman/listinfo/async-sig
> Code of Conduct: https://www.python.org/psf/codeofconduct/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/async-sig/attachments/20161101/dc21760a/attachment.html>


More information about the Async-sig mailing list