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-113688: Split up gcmodule.c by colesbury · Pull Request #113715 · python/cpython Conversation
|
|
Note for reviewers: The PR is split in two commits in an attempt to make it easier to review. The first commit simply moves I recommend reviewing the second commit: fa068b5 "Split up gcmodule.c". Here's the summary of changes beyond simply moving functions from one file to another:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Looks okay to me. I'd suggest it's time to revise that comment at the top of the file. It's not so useful anymore and someone can use git log to see contributors and the history. Maybe add a link to |
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.
Thanks, this is a nice refactor; the resulting extension module is a lot easier to read now.
Nitpick: since we're touching these lines, we now have a golden opportunity to align the new Python/gc.c file with PEP-7, so I suggest we do so.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Related to this although not a blocker for this PR: let's ensure we document the nogil parts also in https://devguide.python.org/internals/garbage-collector/ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Co-authored-by: Erlend E. Aasland <[email protected]>
Co-authored-by: Erlend E. Aasland <[email protected]>
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I made a first round of review and everything looks good to me.
I would advise to keep this PR at minimum changes (so let's avoid the temptation to do refactors 😉 ) to keep the split as "pure" as possible.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@pablogsal - that makes sense. Should I revert the style changes and put them out as a subsequent PR? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Nah, don't worry, I agree it was a good opportunity but I was being careful that we end putting a lot more of other stylistic changes or similar |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Great - would one of the reviewers please merge the PR? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
False positive, the builder is out of disk space |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
This splits part of Modules/gcmodule.c of into Python/gc.c, which now contains the core garbage collection implementation. The Python module remain in the Modules/gcmodule.c file.
This splits part of Modules/gcmodule.c of into Python/gc.c, which now contains the core garbage collection implementation. The Python module remain in the Modules/gcmodule.c file.
This splits part of Modules/gcmodule.c of into Python/gc.c, which now contains the core garbage collection implementation. The Python module remain in the Modules/gcmodule.c file.
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.