[Twisted-Python] how will twisted handle generator-based coroutines deprecation?

Vladimir Chudyk vladier233 at gmail.com
Wed May 6 09:43:26 MDT 2020


Looking at the docs I found that Generators-based coroutines, something
that twisted's inline callbacks depend a lot, will be deprecated soon by
the time python 3.10 is released.

https://docs.python.org/3/library/asyncio-task.html#generator-based-coroutines


* NoteSupport for generator-based coroutines is deprecated and is scheduled
for removal in Python 3.10.*

This is a problem since any future python release will come without the
generator-based coroutines that twisted needs, so any higher version of
python 3.10 will, for the most part, completely broke a lot of twisted code
that already exists.
How will then twisted handle this deprecation?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20200506/a8c42f7d/attachment.htm>


More information about the Twisted-Python mailing list