GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||
GeezerVison is showing github.com — gh-140550: Docs notes for PEP 793 by encukou · Pull Request #151661 · python/cpython Conversation
|
Documentation build overview
8 files changed ·
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| If you need to use any Python C API, it is recommended to call | ||
| :c:func:`PyABIInfo_Check` first to raise an exception, | ||
| rather than crash, in common cases of ABI mismatch. | ||
| Also, note that in :term:`free-threaded <free threading>` builds the export |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
There's a :term:`free-threaded build` term for this.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| function may be called without the :term:`GIL` held even if the extension | ||
| specifies that the GIL is required. |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Could you clarify what this means? "Calling with the GIL held" sounds like the old terminology for calling without an attached thread state. If export functions just need synchronization, then let's just say that.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
It's really the GIL here: Py_MOD_GIL_USED (or leaving Py_mod_gil out) only takes effect when Python sees it, after the hook returns.
Agree that it's confusing (and I missed a caveat, too!)
I'll expand this.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: Peter Bierma <[email protected]>
There was an error while loading. Please reload this page.
|
Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.15. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
GH-152064 is a backport of this pull request to the 3.15 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…-152064) gh-140550: Docs additions & fixups for PEP 793 (GH-151661) (cherry picked from commit 763cc22) Co-authored-by: Petr Viktorin <[email protected]> Co-authored-by: Peter Bierma <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.