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-106320: Remove private _PyCrossInterpreterData API by vstinner · Pull Request #107068 · python/cpython Conversation
|
|
cc @ericsnowcurrently: FYI |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The API is required by the _xxsubinterpreters module, which should not use the internal C-API. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Why should it not use the internal C API? What is the rationale? If you consider that it's important that 3rd party projects can use this API, it should be made public. No? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
By the way, PEP 684 - A Per-Interpreter GIL got accepted: should these |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
I'm publishing this module on PyPI.
Maybe with the
_xxsubinterpreters is related to PEP 554 rather than PEP 684. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Oh, I wasn't aware of that, ok :-) That's what I'm trying to discover by removing private functions: see how they are used. Well, anyone, I prefer to let you decide what do you: do nothing for now (keep the API as private) and decide later, or make some functions public. You might document in a comment in the header file that these functions are exported to be able to be used in 3rd party projects. Thanks for your feedback, I close my PR. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
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.