8000 gh-78878: Fix crash when creating an instance of `_ctypes.CField` by shihai1991 · Pull Request #14837 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-78878: Fix crash when creating an instance of _ctypes.CField #14837

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

Merged
merged 9 commits into from
Dec 21, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix whitespace
  • Loading branch information
shihai1991 committed Jul 18, 2019
commit 88199f45fa581a83e7228f3d09eca515e76730b6
2 changes: 1 addition & 1 deletion Lib/ctypes/test/test_struct_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class Y(X):

def test_5(self):
class X(Structure):
_fields_ = [("x", c_int)]
_fields_ = [("x", c_int)]
CField = type(X.x)
self.assertRaises(TypeError, CField)

Expand Down
0