insolor / async-tkinter-loop

Asynchronous mainloop implementation for tkinter. Makes it possible to use async functions as event handlers and widget commands.
https://insolor.github.io/async-tkinter-loop/
MIT License
70 stars 3 forks source link

DeprecationWarning #127

Closed bits-n-pieces-ch closed 3 hours ago

bits-n-pieces-ch commented 4 hours ago

in the example start_stop_counter.py I get a warning:

DeprecationWarning: There is no current event loop asyncio.get_event_loop_policy().get_event_loop().create_task(counter())

I belive it is in conjuntion with Python 3.13

insolor commented 4 hours ago

I'll check this after Python 3.13.1 release (~ December 2024)

insolor commented 3 hours ago

Actually, it shows the warning on Python 3.12 too. I'll just update the example.

insolor commented 3 hours ago

Fixed in #128