Thanks! I did not notice it was specific to the asyncio library.
Have a good day.
El mié., 6 may. 2020 a las 20:00, <twisted-python-request@twistedmatrix.com>
escribió:
Send Twisted-Python mailing list submissions to
twisted-python@twistedmatrix.com
To subscribe or unsubscribe via the World Wide Web, visit
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
or, via email, send a message with subject or body 'help' to
twisted-python-request@twistedmatrix.com
You can reach the person managing the list at
twisted-python-owner@twistedmatrix.com
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Twisted-Python digest..."
Today's Topics:
1. how will twisted handle generator-based coroutines
deprecation? (Vladimir Chudyk)
2. Re: how will twisted handle generator-based coroutines
deprecation? (Jean-Paul Calderone)
----------------------------------------------------------------------
Message: 1
Date: Wed, 6 May 2020 17:43:26 +0200
From: Vladimir Chudyk <vladier233@gmail.com>
To: Twisted-Python@twistedmatrix.com
Subject: [Twisted-Python] how will twisted handle generator-based
coroutines deprecation?
Message-ID:
<CAFnOpdmYJRFSrk=
mQDJ6M4j0DNeMnnc+GKd-nFNSOMKHLcF99w@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
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-coroutin...
* 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?