-
-
Notifications
You must be signed in to change notification settings - Fork 31.4k
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
_PyObject_StoreInstanceAttribute assertion fails in setattr after __dict__.clear() #117750
Comments
Bisected to #116115 |
In Fedora, we see a similar problem when trying to import
|
The Django problem can be reproduced with:
|
Here's a small reproducer for the class A():
pass
a = A()
vars(a).clear()
vars(a).update({'foo':'bar'})
print(vars(a))
print(a.foo) Works with 3.12, fails with 3.13a06. |
Fixed in main, so this can be closed. |
The _PyObject_InlineValuesConsistencyCheck in Django is also fixed on main. |
… leave dict attached (pythonGH-117808)
Bug report
Bug description:
On current main (edit: debug build),
fails with:
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Notes
Originally reported here: https://discuss.python.org/t/python-3-12-3-and-3-13-0a6-released/50601/2
Linked PRs
The text was updated successfully, but these errors were encountered: