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-85283: _stat extension uses the limited C API by vstinner · Pull Request #108573 · python/cpython Conversation
|
|
I moved the Changelog entry to the Build category, and I documented the change in the Build Changes of What's New in Python 3.13. See #85283 (comment) about the choice of the Category. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Hm, I'm not so sure about not building _stat if Py_TRACE_REFS are defined
It's a workaround for issue #108634: without this change, building Python with But. It's more complicated than expect: multiple tests fail when I'm going to:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Just to note a slight hesitation of intentionally breaking a buildbot &c, given that A |
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.
Caught a bug! PyModule_Add requires 3.13.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Oh! Only on Windows, so I didn't notice locally on Linux. I don't want to downgrade |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
This PR will no longer break TraceRefs. I merged PR #108663 which adds limited C API support to Py_TRACE_REFS build. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
The _stat C extension is now built with the limited C API.
|
I rebased my PR to solve a merge conflict (Doc/whatsnew/3.13.rst). |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@erlend-aasland: Would you mind to review the latest version of the PR? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
On-going discussion about converting some stdlib C extensions to the limited C API: https://discuss.python.org/t/use-the-limited-c-api-for-some-of-our-stdlib-c-extensions/32465 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, I prefer to still stay out of the C API discussions. From the linked discussion, it seems to me these changes are far from non-controversial; perhaps considered marking this as draft until consensus have been reached. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Ok, I marked my PR as a draft. I already marked the 3 other similar PRs as draft. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I close this PR until a decision is taken on using the limited C API for a few Python stdlib extensions. Well, it's not that complicated to rewrite this PR (or reuse the patch of the closed PR). |
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.