Skip to content

Commit 00530ba

Browse files
committed
add news
1 parent c869028 commit 00530ba

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Creating a `ctypes.CField` with a `byte_size` that does not match the actual
2+
type size now raises a `ValueError` instead of crashing the interpreter.
3+
This makes ctypes field creation more robust and prevents silent assertion
4+
failures in debug builds.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Creating a `ctypes.CField` with a `byte_size` that does not match the actual
2+
type size now raises a `ValueError` instead of crashing the interpreter.
3+
This makes ctypes field creation more robust and prevents silent assertion
4+
failures in debug builds.

0 commit comments

Comments
 (0)