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

GIL-free references to Python data #2275

Open
davidhewitt opened this issue Apr 5, 2022 · 0 comments
Open

GIL-free references to Python data #2275

davidhewitt opened this issue Apr 5, 2022 · 0 comments

Comments

@davidhewitt
Copy link
Member

davidhewitt commented Apr 5, 2022

In comment to Py<PyBytes>::as_bytes:


I think there's a few other immutable types like str and tuple which I guess can also have treatment like this where py is necessary for reading, but once read, the GIL can be released. Might be interesting to follow up this another time.

Originally posted by @davidhewitt in #2235 (review)

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

1 participant