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, <[email protected]> escribió: > Send Twisted-Python mailing list submissions to > [email protected] > > 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 > [email protected] > > You can reach the person managing the list at > [email protected] > > 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 <[email protected]> > To: [email protected] > Subject: [Twisted-Python] how will twisted handle generator-based > coroutines deprecation? > Message-ID: > <CAFnOpdmYJRFSrk= > [email protected]> > 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-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-0001.htm> > > ------------------------------ > > Message: 2 > Date: Wed, 6 May 2020 12:11:35 -0400 > From: Jean-Paul Calderone <[email protected]> > To: Twisted general discussion <[email protected]> > Subject: Re: [Twisted-Python] how will twisted handle generator-based > coroutines deprecation? > Message-ID: > <CAEeXt4NxgOvwTDQyZbGC1Uu+CoBKcoNqDbcsROzmhuci= > [email protected]> > Content-Type: text/plain; charset="utf-8" > > On Wed, May 6, 2020 at 11:44 AM Vladimir Chudyk <[email protected]> > wrote: > > > 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? > > > > This seems to be a deprecation of the asyncio library's implementation of > generator-based coroutines. It doesn't seem like it should affect any code > written using `inlineCallbacks`, only code that uses `asyncio.coroutine`. > > Jean-Paul > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > </pipermail/twisted-python/attachments/20200506/aa071ecd/attachment-0001.htm> > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Twisted-Python mailing list > [email protected] > https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python > > > ------------------------------ > > End of Twisted-Python Digest, Vol 194, Issue 3 > ********************************************** >
_______________________________________________ Twisted-Python mailing list [email protected] https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
