Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-127989: C API: Refer to attached thread states instead of the GIL#127990
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
Uh oh!
There was an error while loading.Please reload this page.
Merged
Changes from1 commit
Commits
Show all changes
76 commits Select commitHold shift + click to select a range
ad7ee2d
Document the term 'thread state.'
ZeroIntensitybea045a
Change term for PyDict_GetItem
ZeroIntensitye286ba5
Change term for PyErr_Occurred
ZeroIntensity6006b22
Change term for PyErr_SetInterrupt
ZeroIntensity8dc3928
Change term for PyErr_SetInterruptEx
ZeroIntensityf46ca3d
Change term for PyConfig_Get
ZeroIntensity555a03c
Change term for PyConfig_Names
ZeroIntensityddb98cd
Change term for PyConfig_Set
ZeroIntensity5d423f8
Change term for PyUnstable_AtExit
ZeroIntensityd2d2f67
Change term for Py_Initialize note
ZeroIntensityaa9c4c6
Change term for PyInterpreterState_Get
ZeroIntensityc05be67
Change term for PyInterpreterState_GetID
ZeroIntensity3a69922
Change term for PyThreadState_SetAsyncEx
ZeroIntensity3336ad7
Change term for Py_NewInterpreterFromConfig
ZeroIntensity3991681
Change term for Py_FinalizeEx
ZeroIntensity6d397eb
Change term for Py_AddPendingCall
ZeroIntensity3b7b3ff
Change term for PyEval_SetProfile
ZeroIntensity5358d14
Change term for PyEval_SetProfileAllThreads
ZeroIntensity093ba05
Change term for PyEval_SetTrace
ZeroIntensity11582fa
Change term for PyEval_SetTraceAllThreads
ZeroIntensity3d55d2d
Change term for PyRefTracer_SetTracer
ZeroIntensity2785c1d
Change term for PyRefTracer_GetTracer
ZeroIntensity6d80b02
Change term for PyMutex_Lock
ZeroIntensity94e046b
Change term for allocator domains
ZeroIntensity713beb2
Change term for raw memory interface
ZeroIntensity2140bde
Change term for memory interface
ZeroIntensityf608211
Change term for object allocators
ZeroIntensityd619387
Change term for PyMem_SetAllocator
ZeroIntensitye7828ed
Change term for PyMem_SetAllocator (again)
ZeroIntensity6b33565
Change term for debug hooks
ZeroIntensity6230177
Change term for debug hooks (again)
ZeroIntensityf74832a
Change term for PyState*
ZeroIntensity7161fc0
Change term for various things
ZeroIntensityd58b74f
Change term for clock functions
ZeroIntensitya761c4a
Change term for raw clock functions
ZeroIntensityde122f5
Change term for tp_dealloc warning
ZeroIntensity0b0176b
Change term for the types tutorial
ZeroIntensityc15f5c4
Add more information about thread states.
ZeroIntensity0130b20
Change terms for 'cautions regarding runtime finalization'
ZeroIntensitya1e47b7
Simplify PyEval_SaveThread and PyEval_RestoreThread
ZeroIntensity0173c46
Some more terminology fixups.
ZeroIntensity166d970
Fix Sphinx build errors.
ZeroIntensityadae494
Change some usage of the term 'global interpreter lock'
ZeroIntensitya70ab11
Add some more terms for disambiguation.
ZeroIntensity8584c86
Change usage of some terms.
ZeroIntensity48b145a
Play around with terminology.
ZeroIntensity8ce3d7d
Various terminology changes.
ZeroIntensitye5f1d18
Change the glossary definition a little bit.
ZeroIntensity905ca5b
Change some phrasing.
ZeroIntensityf2826c4
Fix some usage of terms.
ZeroIntensity5c44391
Change some usage of 'global interpreter lock'
ZeroIntensity7d5877f
Fix pre-commit lint.
ZeroIntensity283fc92
Delete redundant file
ZeroIntensitya7488ab
Revert "Delete redundant file"
ZeroIntensity4c532b6
Remove accidental find-and-replace change.
ZeroIntensity352acc5
Switch to a reference
ZeroIntensityed550bc
Use a less wordy phrase for detaching.
ZeroIntensityd7cf403
Fix a typo in PyInterpreterState_Get
ZeroIntensityf61a6da
Change some wording in PyEval_SaveThread and PyEval_RestoreThread
ZeroIntensity36af941
Change wording for PyThreadState_Swap
ZeroIntensity0b23daa
Make glossary terms more clear.
ZeroIntensity163b0b8
Change up wording for 'attached thread state'
ZeroIntensity3b2bed8
Clarify that the C API is what needs a thread state.
ZeroIntensity80ae46b
Update Doc/glossary.rst
ZeroIntensity3dee63f
Update Doc/glossary.rst
ZeroIntensity9ed3a0b
Drop the phrase 'current thread state' and only use 'attached thread …
ZeroIntensityb3cbbf8
Add extra note about free-threading.
ZeroIntensity1c37d59
Add a seealso.
ZeroIntensity32a4937
Merge from main.
ZeroIntensity2fba67c
Fix weird merge artifact.
ZeroIntensitya0dc12c
Merge branch 'main' into clarify-gil-tstate
ZeroIntensity94619f6
Change term for new PyConfig* APIs
ZeroIntensitye6f1f28
Change term for PyUnstable_InterpreterState_GetMainModule
ZeroIntensity828d24b
Change term for Py_fopen
ZeroIntensityace174f
Merge branch 'main' into clarify-gil-tstate
encukou788d735
Change artifact from 'runtime context' to 'thread state'
ZeroIntensityFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Change term for new PyConfig* APIs
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commit94619f601f9cbf91108cda13e8be77ead14ffd5c
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.