Ludovic Gasc wrote:

Not related, but one of my coworkers asked me if with the new syntax it will be possible to write an async decorator for coroutines.

This is certainly possible with PEP 3152. The decorator
just needs to be an ordinary function whose return
value is a cofunction.

--
Greg
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to