sirk390

Results 20 comments of sirk390

Thanks, normally, I would just use a boolean flag like this: ```python async def example_coroutine(): while self.running: print ("test") await asyncio.sleep(1) ``` and when I need to stop it: ```python...

HI @karlp @bastien34, have a look at the new api, and tell me if it's good for you: ![image](https://user-images.githubusercontent.com/983579/190988369-1586f735-8c07-4797-b362-ff3043b55a52.png) This is pushed to master

Looks like a good addition, but I don't understand your code. Why test for 'os.name =="posix"' when you told me that there is a difference between Mac ("doesn't yield") and...

Hi Vincent, Thanks for reporting this. I tried it on my computer (windows also) and I don't see a difference between the async and non-async even with keyboard. Would it...

I have a fast machine but it shouldn't change it so much. It might take some time in the Dispatch? This is the slowest on my side. See my results:...

I tried on my laptop and didn't see the issue. I would need an easy way to reproduce it or some details on the function that is slowed down. Any...

Do you have any code to reproduce? I just tested on Linux under VMWare and measured evtloop.Pending() + evtloop.Dispatch() loop. The worst I can see is once 30ms at startup....

Thanks, are you able to debug and investigate the issue? I think it's related to the screen reader but i can't really buy a a screen reader just to investigate...

This is a very tricky issue. Adding a "evtloop.DispatchTimeout(10)" before the while loop (the value is in milliseconds) improves it, but it will reduce the performances globally. I have the...

I've created these two gifs to capture the slowdown with NVDA although I if you are using a screen reader maybe you will not be able to verify this is...