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 — bpo-1635741: Port gc module to multiphase initialization by tiran · Pull Request #23377 · python/cpython Conversation
|
|
🤖 New build scheduled with the buildbot fleet by @pablogsal for commit 668780e30978e11065113c438850074f3fefab5b 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
LGTM, but I added the buildbot label because the gc module has some special handling on deallocation |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
refleak bots are complaining about a new reference like in |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Found it! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
🤖 New build scheduled with the buildbot fleet by @tiran for commit d1d2cbcb6b14b2f2d8464cb56095b44a4e118ac6 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
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.
This looks wrong to me. If you create multiple instances of the GC modul, callbacks member will be overriden by a new list at each call. It must be initialized exactly once in _PyGC_Init().
By the way, if (gcstate->garbage == NULL) { test in _PyGC_Init() can be removed, it's useless. This function is called exactly once per interpreter.
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.
Makes sense, I'm moving gcstate->callbacks = PyList_New(0) to _PyGC_Init().
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Signed-off-by: Christian Heimes <[email protected]>
Signed-off-by: Christian Heimes <[email protected]>
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
d1d2cbc to
7ad98d9
Compare
|
🤖 New build scheduled with the buildbot fleet by @tiran for commit 7ad98d9 🤖 If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again. |
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.
LGTM.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@tiran: Status check is done, and it's a pending ❌ . |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@tiran: Status check is done, and it's a success ✅ . |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
) Signed-off-by: Christian Heimes <[email protected]> Automerge-Triggered-By: GH:tiran
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.