GeezerVison is showing github.com — Fix links to missing CPython files · Issue #1003 · python/devguide
Fix links to missing CPython files #1003Activityvstinner commented on Dec 13, 2022
Include/Python-ast.h was removed by @vstinner
Not removed, read the commit: it was moved to Include/internal/pycore_ast.h.
Include/token.h was removed by @vstinner
Same, just renamed to to Include/internal/pycore_token.h.
I prefer to say "removed" for end users, since end users are not supposed to consume the internal C API.
Include/code.h was removed by @vstinner
This file was basically empty: you should use Include/cpython/code.h instead. abdnafees commented on Mar 13, 2023 Does this issue require more changes? CAM-Gerlach commented on Mar 13, 2023 I believe so, as most of the existing PRs focused on the existing :files: role rather than file paths using literals. You could consider looking through the various docs that discuss the CPython source tree and updating references to specific files where appropriate. I do note there are tons of missing references in the C-API page, but as that is currently being heavily modified by #1060 withmany of those updated already, I wouldn't touch it until after that is merged (and I plan to submit an immediate followup anyway which may address more, so I'd wait on that until given the go-ahead). abdnafees commented on Mar 13, 2023 Got it.
So for example here
Add the PyTestCapi_Init* function to Modules/_testcapi/parts.h
Call the PyTestCapi_Init* from PyInit__testcapi in Modules/_testcapimodule.c.
Am I looking at the right place? CAM-Gerlach commented on Mar 14, 2023 Those are examples of things you would normally want to submit a PR changing, yes, but also examples of things on the C-API page that I mentioned is currently being modified by #1060 and will be further modified by a followup, so you shouldn't touch those until that's all done. If you find similar such references in other documents, those would likely be fair game to change as part of one or more PRs. abdnafees commented on Mar 14, 2023 Alright, got it. Thank you. Reacted by C.A.M. Gerlach
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|