We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae27ef7 commit ed5ee0aCopy full SHA for ed5ee0a
1 file changed
Misc/NEWS.d/next/Library/2026-04-19-07-56-51.gh-issue-148596.SKckm9.rst
@@ -0,0 +1,5 @@
1
+Fix ctypes callback return handling for subclassed simple types.
2
+
3
+Returning a ctypes instance (e.g. a subclass of c_int) from a CFUNCTYPE
4
+callback no longer raises an unraisable TypeError or leaves the result
5
+buffer uninitialized.
0 commit comments