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,
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-requ...@twistedmatrix.com
>
> You can reach the person managing the list at
> twisted-python-ow...@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
> To: Twisted-Python@twistedmatrix.com
> Subject: [Twisted-Python] how will twisted handle generator-based
> coroutines deprecation?
> Message-ID:
> mqdj6m4j0dnemnnc+gkd-nfnsomkhlcf...@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:
>
>
> --
>
> Message: 2
> Date: Wed, 6 May 2020 12:11:35 -0400
> From: Jean-Paul Calderone
> To: Twisted general discussion
> Subject: Re: [Twisted-Python] how will twisted handle generator-based
> coroutines deprecation?
> Message-ID:
> yy...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> On Wed, May 6, 2020 at 11:44 AM Vladimir Chudyk
> 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:
>
>
> --
>
> Subject: Digest Footer
>
> ___
> Twisted-Python mailing list
> Twisted-Python@twistedmatrix.com
> https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
>
> --
>
> End of Twisted-Python Digest, Vol 194, Issue 3
> **
>
___
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python