Thanks to visit codestin.com
Credit goes to github.com

Skip to content

GIL section of the FAQ is outdated (or shortly to be outdated) #114756

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

Closed
da-woods opened this issue Jan 30, 2024 · 3 comments
Closed

GIL section of the FAQ is outdated (or shortly to be outdated) #114756

da-woods opened this issue Jan 30, 2024 · 3 comments
Labels

Comments

@da-woods
Copy link
Contributor

da-woods commented Jan 30, 2024

Documentation

https://docs.python.org/3.13/faq/library.html#can-t-we-get-rid-of-the-global-interpreter-lock (link is to the current alpha version)

Obviously work is in progress to remove the GIL which isn't reflected in the FAQ yet.

Also the second option:

It has been suggested that the GIL should be a per-interpreter-state lock rather than truly global; interpreters then wouldn’t be able to share objects. Unfortunately, this isn’t likely to happen either.

If I understand correctly, interpreters with an isolated GIL are now at least partially implemented in a release version and again this isn't reflected in the FAQ.

Linked PRs

@da-woods da-woods added the docs Documentation in the Doc dir label Jan 30, 2024
@da-woods
Copy link
Contributor Author

Possibly also should be tagged topic-subinterpreters (I don't think I have the permissions to do so myself)

colesbury pushed a commit that referenced this issue Feb 6, 2024
Update FAQ section on removing the GIL to reflect recent progress on PEP 703 and PEP 684.

Co-authored-by: AN Long <[email protected]>
@willingc
Copy link
Contributor

willingc commented Feb 6, 2024

@da-woods Did merging #114957 resolve this issue?

@da-woods
Copy link
Contributor Author

da-woods commented Feb 6, 2024

Yes, I think so. I'll close this.

@da-woods da-woods closed this as completed Feb 6, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Subinterpreters Feb 6, 2024
fsc-eriker pushed a commit to fsc-eriker/cpython that referenced this issue Feb 14, 2024
Update FAQ section on removing the GIL to reflect recent progress on PEP 703 and PEP 684.

Co-authored-by: AN Long <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

3 participants