[Twisted-Python] Twisted-Python Digest, Vol 194, Issue 3

Vladimir Chudyk vladier233 at gmail.com
Thu May 7 00:38:25 MDT 2020


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 at twistedmatrix.com>
escribió:

> Send Twisted-Python mailing list submissions to
>         twisted-python at 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 at twistedmatrix.com
>
> You can reach the person managing the list at
>         twisted-python-owner at 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 at gmail.com>
> To: Twisted-Python at twistedmatrix.com
> Subject: [Twisted-Python] how will twisted handle generator-based
>         coroutines deprecation?
> Message-ID:
>         <CAFnOpdmYJRFSrk=
> mQDJ6M4j0DNeMnnc+GKd-nFNSOMKHLcF99w at 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-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 <exarkun at twistedmatrix.com>
> To: Twisted general discussion <twisted-python at twistedmatrix.com>
> Subject: Re: [Twisted-Python] how will twisted handle generator-based
>         coroutines deprecation?
> Message-ID:
>         <CAEeXt4NxgOvwTDQyZbGC1Uu+CoBKcoNqDbcsROzmhuci=
> YYxcg at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> On Wed, May 6, 2020 at 11:44 AM Vladimir Chudyk <vladier233 at gmail.com>
> 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
> Twisted-Python at twistedmatrix.com
> https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>
> ------------------------------
>
> End of Twisted-Python Digest, Vol 194, Issue 3
> **********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20200507/fc912c94/attachment.htm>


More information about the Twisted-Python mailing list