-
-
Notifications
You must be signed in to change notification settings - Fork 32k
No exception set but raise SystemError when setting _fields_ of ctypes.Structure in __init_subclass__ #99275
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
Labels
Comments
I proposed a PR that sets the exception. |
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Nov 9, 2022
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Nov 9, 2022
sobolevn
added a commit
to sobolevn/cpython
that referenced
this issue
Nov 9, 2022
gpshead
pushed a commit
that referenced
this issue
Nov 13, 2022
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Nov 13, 2022
…_` (pythonGH-99283) (cherry picked from commit 343eb0f) Co-authored-by: Nikita Sobolev <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Nov 13, 2022
…_` (pythonGH-99283) (cherry picked from commit 343eb0f) Co-authored-by: Nikita Sobolev <[email protected]>
miss-islington
added a commit
that referenced
this issue
Nov 13, 2022
…-99283) (cherry picked from commit 343eb0f) Co-authored-by: Nikita Sobolev <[email protected]>
miss-islington
added a commit
that referenced
this issue
Nov 13, 2022
…-99283) (cherry picked from commit 343eb0f) Co-authored-by: Nikita Sobolev <[email protected]>
Thanks for the fix! I'll close the issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Bug report
No exception set but raise SystemError when setting
_fields_
of ctypes.Structure in__init_subclass__
Reproduce code:
Output Exception
Your environment
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] on win32
SystemError
inctypes
during__initsubclass__
#99283_use_broken_old_ctypes_structure_semantics_
#99285SystemError
inctypes
during__initsubclass__
(GH-99283) #99447SystemError
inctypes
during__initsubclass__
(GH-99283) #99448The text was updated successfully, but these errors were encountered: