[gentoo-portage-dev] [PATCH 2/2] AsynchronousTask: add async_wait() method (bug 653856)

2018-04-23 Thread Zac Medico
Since the AsynchronousTask.wait() method is prone to event loop recursion, deprecate it, and add an async_wait() method method to replace it. Instead of using task.wait() in order to implicitly run the event loop, now loop.run_until_complete(task.async_wait()) will be used to explicitly run the

[gentoo-portage-dev] [PATCH 1/2] AsynchronousTask: add scheduler attribute (bug 653856)

2018-04-23 Thread Zac Medico
Add an AsynchronousTask.scheduler attribute, which will hold an event loop instance in order to work with Future instances. Name the attribute "scheduler" because this is the name used by many existing subclasses of AsynchronousTask. Since the AsyncScheduler class already has an _event_loop

[gentoo-portage-dev] [PATCH 0/2] AsynchronousTask: add async_wait() method (bug 653856)

2018-04-23 Thread Zac Medico
Since the AsynchronousTask.wait() method is prone to event loop recursion, deprecate it, and add an async_wait() method method to replace it. Instead of using task.wait() in order to implicitly run the event loop, now loop.run_until_complete(task.async_wait()) will be used to explicitly run the

Re: [gentoo-portage-dev] [PATCH 0/5] EbuildFetcher._get_uri_map(): fix event loop recursion (bug 653810)

2018-04-23 Thread Zac Medico
On 04/23/2018 09:10 AM, Brian Dolbec wrote: > On Sun, 22 Apr 2018 15:30:09 -0700 > Zac Medico wrote: > >> Bug: https://bugs.gentoo.org/653810 >> >> Zac Medico (5): >> portdbapi: add async_fetch_map method (bug 653810) >> EbuildFetcher: inherit CompositeTask (bug 653810)

Re: [gentoo-dev] multi-backend support for ssl/tls in curl

2018-04-23 Thread Matthew Thode
On 18-04-23 17:00:45, James Le Cuirot wrote: > On Mon, 23 Apr 2018 17:47:27 +0200 > Michał Górny wrote: > > > W dniu pon, 23.04.2018 o godzinie 02∶57 -0500, użytkownik Gordon > > Pettey napisał: > > > On Mon, Apr 23, 2018 at 1:26 AM, Michał Górny > > >

Re: [gentoo-portage-dev] [PATCH 0/5] EbuildFetcher._get_uri_map(): fix event loop recursion (bug 653810)

2018-04-23 Thread Brian Dolbec
On Sun, 22 Apr 2018 15:30:09 -0700 Zac Medico wrote: > Bug: https://bugs.gentoo.org/653810 > > Zac Medico (5): > portdbapi: add async_fetch_map method (bug 653810) > EbuildFetcher: inherit CompositeTask (bug 653810) > EbuildFetcher: add _async_uri_map method (bug

Re: [gentoo-dev] multi-backend support for ssl/tls in curl

2018-04-23 Thread James Le Cuirot
On Mon, 23 Apr 2018 17:47:27 +0200 Michał Górny wrote: > W dniu pon, 23.04.2018 o godzinie 02∶57 -0500, użytkownik Gordon > Pettey napisał: > > On Mon, Apr 23, 2018 at 1:26 AM, Michał Górny > > wrote: > > > W dniu nie, 22.04.2018 o godzinie 09∶34 -0500,

Re: [gentoo-dev] multi-backend support for ssl/tls in curl

2018-04-23 Thread Michał Górny
W dniu pon, 23.04.2018 o godzinie 02∶57 -0500, użytkownik Gordon Pettey napisał: > On Mon, Apr 23, 2018 at 1:26 AM, Michał Górny wrote: > > W dniu nie, 22.04.2018 o godzinie 09∶34 -0500, użytkownik Matthew Thode > > napisał: > > > The short of it is that curl supports having

Re: [gentoo-dev] multi-backend support for ssl/tls in curl

2018-04-23 Thread Matthew Thode
On 18-04-23 02:57:50, Gordon Pettey wrote: > On Mon, Apr 23, 2018 at 1:26 AM, Michał Górny wrote: > > W dniu nie, 22.04.2018 o godzinie 09∶34 -0500, użytkownik Matthew Thode > > napisał: > >> The short of it is that curl supports having multiple backends. I'd > >> like to have

Re: [gentoo-dev] multi-backend support for ssl/tls in curl

2018-04-23 Thread Gordon Pettey
On Mon, Apr 23, 2018 at 1:26 AM, Michał Górny wrote: > W dniu nie, 22.04.2018 o godzinie 09∶34 -0500, użytkownik Matthew Thode > napisał: >> The short of it is that curl supports having multiple backends. I'd >> like to have that feature enabled so libraries and userland can

Re: [gentoo-dev] multi-backend support for ssl/tls in curl

2018-04-23 Thread Michał Górny
W dniu nie, 22.04.2018 o godzinie 09∶34 -0500, użytkownik Matthew Thode napisał: > The short of it is that curl supports having multiple backends. I'd > like to have that feature enabled so libraries and userland can choose > the backend they wish to use. > > https://bugs.gentoo.org/653076 has