-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
gc.freeze documentation is unclear #103059
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
Labels
docs
Documentation in the Doc dir
Comments
raylu
added a commit
to raylu/cpython
that referenced
this issue
Mar 27, 2023
The current advice seems to mean you should gc.disable() and gc.freeze() right before os.fork(), which doesn't do anything. Łukasz explained the advice in https://bugs.python.org/issue31558#msg302780. This moves the advice around gc.disable out of the gc.freeze docs.
raylu
added a commit
to raylu/cpython
that referenced
this issue
Mar 27, 2023
The current advice seems to mean you should gc.disable() and gc.freeze() right before os.fork(), which doesn't do anything. Łukasz explained the advice in https://bugs.python.org/issue31558#msg302780. This moves the advice around gc.disable out of the gc.freeze docs.
raylu
added a commit
to raylu/cpython
that referenced
this issue
Mar 29, 2023
The current advice seems to mean you should gc.disable() and gc.freeze() right before os.fork(), which doesn't do anything. Łukasz explained the advice in https://bugs.python.org/issue31558#msg302780. This moves the advice around gc.disable out of the gc.freeze docs.
@pitrou, @pablogsal (as gc experts) |
carljm
pushed a commit
that referenced
this issue
Apr 10, 2023
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Apr 10, 2023
(cherry picked from commit 8b1b171) Co-authored-by: raylu <[email protected]>
carljm
pushed a commit
that referenced
this issue
Apr 10, 2023
warsaw
pushed a commit
to warsaw/cpython
that referenced
this issue
Apr 11, 2023
aisk
pushed a commit
to aisk/cpython
that referenced
this issue
Apr 18, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Documentation
The current advice seems to mean you should
gc.disable()
andgc.freeze()
right beforeos.fork()
, which doesn't do anything.Łukasz explained the advice in https://bugs.python.org/issue31558#msg302780.
I'm proposing a fix in PR #103058.
Linked PRs
The text was updated successfully, but these errors were encountered: