Skip to content

get_running_loop - #258

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

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

Conversation

@sezanzeb

Copy link
Copy Markdown
Collaborator

No description provided.

@sezanzeb
sezanzebforce-pushed the get_running_loop branch 2 times, most recently from ffa0e87 to f4d0269CompareJuly 8, 2026 18:31
@sezanzeb

sezanzeb commented Jul 8, 2026

Copy link
Copy Markdown
CollaboratorAuthor

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

@sezanzeb

Copy link
Copy Markdown
CollaboratorAuthor

works in ubuntu 26.04, python 3.14

Sign up for freeto 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

@sezanzeb