Skip to content

get_running_loop#258

Draft
sezanzeb wants to merge 1 commit into
gvalkov:mainfrom
sezanzeb:get_running_loop
Draft

get_running_loop#258
sezanzeb wants to merge 1 commit into
gvalkov:mainfrom
sezanzeb:get_running_loop

Conversation

@sezanzeb

@sezanzeb sezanzeb commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@sezanzeb sezanzeb force-pushed the get_running_loop branch 2 times, most recently from ffa0e87 to f4d0269 Compare July 8, 2026 18:31
@sezanzeb

sezanzeb commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator Author

Change works with this example script:

import asyncio
from evdev import InputDevice

dev = InputDevice('/dev/input/event3')

async def main(dev):
    async for ev in dev.async_read_loop():
        print(repr(ev))

asyncio.run(main(dev))

in python 3.13

TODO: Upgrade ubuntu to 26.04, test with python 3.14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant