-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
incompatible behaviour between 3.12.0rc1 and previous versions in ctypes #107940
Comments
…tainer Closes python#107940. Also, solves a related yet undiscovered issue where an array of pointers reuses the array's memory for the pointer objects.
…tainer Closes python#107940. Also, solves a related yet undiscovered issue where an array of pointers reuses the array's memory for the pointer objects.
It seems like the PCP project is affected by this regression, see the Fedora issue: https://bugzilla.redhat.com/show_bug.cgi?id=2231751 |
I proposed a revert until the regression is understood and fixed: #108688 |
…tainer Closes python#107940. Also, solves a related yet undiscovered issue where an array of pointers reuses the array's memory for the pointer objects.
Revert for |
3.12 revert landed as well. |
3.11 was reverted before 3.11.5 in GH-108412. |
We'll close this and continue search for a good solution in the original issue. |
Thanks. IMO it's a reasonable practical solution to this complicated problem. If someone comes up with a new fix, please ping me, I will try to review it! But I'm not available to investigate the issue and attempt writing a better ctypes fix. |
Bug report
Testing out 3.12.0rc1 on NumPy, we came across numpy/numpy#24399. I have distilled this down to a reproducer that fails on 3.12.0rc1, but passes on previous versions.
Checklist
A clear and concise description of the bug
Your environment
Edit: 3.12rc1 -> 3.12.0rc1
Linked PRs
_type_
of the container #108222The text was updated successfully, but these errors were encountered: