[Python-Dev] Summary of Python tracker Issues

2018-06-15 Thread Python tracker
ACTIVITY SUMMARY (2018-06-08 - 2018-06-15) Python tracker at https://bugs.python.org/ To view or respond to any of the issues listed below, click on the issue. Do NOT respond to this message. Issues counts and deltas: open6691 ( -1) closed 38930 (+62) total 45621 (+61) Open issues wi

Re: [Python-Dev] A more flexible task creation

2018-06-15 Thread Gustavo Carneiro
On Fri, 15 Jun 2018 at 09:18, Michel Desmoulin wrote: > > > > > The strict API compatibility requirements of core Python stdlib, coupled > > with the very long feature release life-cycles of Python, make me think > > this sort of thing perhaps is better built in an utility library on top > > of a

Re: [Python-Dev] Some data points for the "annual release cadence" concept

2018-06-15 Thread Nick Coghlan
On 14 June 2018 at 06:30, Ronald Oussoren wrote: > On 13 Jun 2018, at 15:42, Nick Coghlan wrote: > > Yeah, pretty much - once we can get to the point where it's routine for > folks to be building "abiX" or "abiXY" wheels (with the latter not actually > being a defined compatibility tag yet, but

Re: [Python-Dev] A more flexible task creation

2018-06-15 Thread Michel Desmoulin
Le 14/06/2018 à 04:09, Nathaniel Smith a écrit : > How about: > > async def wait_to_run(async_fn, *args): >     await wait_for_something() >     return await async_fn(*args) > > task = loop.create_task(wait_to_run(myfunc, ...)) > It's quite elegant, although figuring out the wait_for_somethin

Re: [Python-Dev] A more flexible task creation

2018-06-15 Thread Michel Desmoulin
> > The strict API compatibility requirements of core Python stdlib, coupled > with the very long feature release life-cycles of Python, make me think > this sort of thing perhaps is better built in an utility library on top > of asyncio, rather than inside asyncio itself?  18 months is a long lo

Re: [Python-Dev] A more flexible task creation

2018-06-15 Thread Steve Holden
On Thu, Jun 14, 2018 at 8:14 PM, Chris Barker via Python-Dev < python-dev@python.org> wrote: > Excuse my ignorance (or maybe it's a vocabulary thing), but I'm trying to > understand the problem here. > > So why do queries fail with 1 tasks? or ANY number? If the async DB > access code is wri