You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For integration purposes I need to get the current underlying uv_loop_t pointer, preferably as a PyCapsule, from uvloop. I need that pointer for use by my python extension and for it to seamlessly integrate with asyncio scripts.
Do you think you could add such a function, or point me in the direction where I can add it? It should be a minimal change.
Activity
1st1 commentedon Jan 14, 2020
You can probably add a getter like this in
loop.pyx:You can then call it and cast the returned int to a pointer.
pranavtbhat commentedon Jan 15, 2020
I've been looking for this functionality too! @alexhultman I can pass in a PR for this if you'd like
fantix commentedon Sep 9, 2022
Fixed in #310