-
Notifications
You must be signed in to change notification settings - Fork 782
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
call PyObject_GC_Untrack before deallocating #3404
Conversation
843ceaf
to
aac7d99
Compare
With the I've rebased on #3430 here and it's great to see that those lines are gone and even better, |
aac7d99
to
a594a96
Compare
a594a96
to
8514a01
Compare
bb9e32f
to
56962ac
Compare
56962ac
to
f5bf765
Compare
Looks like everything except 3.11 and pypy is broken 😅 |
f5bf765
to
0b87297
Compare
def175e
to
932c5c7
Compare
Ok, think I've fixed the issues. The 3.12 failures were #3444, and the 3.10 (and older) cpython failures were due to an annoying assumption in |
Fixes #3064
Closes #3416
I verified by hand that this fixes the warning on a debug build of Python. As we don't run debug builds in CI I'm unsure if there's any way we can test this.EDIT: now testing debug build in CI as part of this PR.As a bit of refactoring here I removed
Layout
fromPyClassImpl
as it's no longer necessary.