Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Greenlets and nogil #109

Open
mrsipan opened this issue Mar 21, 2023 · 2 comments
Open

Greenlets and nogil #109

mrsipan opened this issue Mar 21, 2023 · 2 comments

Comments

@mrsipan
Copy link

mrsipan commented Mar 21, 2023

Can coroutine-based Python networking library that uses greenlets (such as gevent and eventlet) be used with nogil?

@mrsipan mrsipan changed the title Greentlets and nogil Greenlets and nogil Mar 21, 2023
@colesbury
Copy link
Owner

Hi @mrsipan, greenlets doesn't currently work with nogil, but the immediate reason is minor and might be easy to fix (an unintentional name conflict in a C header file.) I'll look into fixing it in the next few days.

@colesbury
Copy link
Owner

Ok, there are additional issues that are harder to fix: greenlets depends on details of PyFrameObject that have changed. I'm not sure when I'll have time to investigate them.

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

No branches or pull requests

2 participants