Re: [Async-sig] Asyncio loop instrumentation

2018-01-02 Thread Yury Selivanov
I understand why it could be useful to have this in asyncio. But I'm big -1 on rushing this functionality in 3.7. asyncio is no longer provisional, so we have to be careful when we design new APIs for it. Example: I wanted to add support for Task groups to asyncio. A similar concept exists in

Re: [Async-sig] Asyncio loop instrumentation

2018-01-02 Thread Pau Freixes
Agree, poll_start and poll_end suit much better. Thanks for the feedback. On Tue, Jan 2, 2018 at 1:34 AM, INADA Naoki wrote: For this proposal [4], POC, I've preferred make a reduced list of events: * `loop_start` : Executed when the loop starts for the

Re: [Async-sig] Asyncio loop instrumentation

2018-01-02 Thread Pau Freixes
Hi Yuri, Its good to know that we are on the same page regarding the lack of a feature that should be a must. Since Asyncio has become stable and widely used by many organizations - such as us [1], the needs of tools that allow us to instrumentalize asynchronous code that runs on top of Asyncio