summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2006-10-17 19:30:48 (GMT)
committerThomas Heller <theller@ctypes.org>2006-10-17 19:30:48 (GMT)
commitd2ea4a258401dd97a5084398803ee8193f4f9c7a (patch)
treed50ed8d8d690616d05239f77eb6944de1cc79b1e /Misc
parentfefbc2029cf131cabb32fe4540fdbac12d40a271 (diff)
downloadcpython-d2ea4a258401dd97a5084398803ee8193f4f9c7a.zip
cpython-d2ea4a258401dd97a5084398803ee8193f4f9c7a.tar.gz
cpython-d2ea4a258401dd97a5084398803ee8193f4f9c7a.tar.bz2
ctypes callback functions only support 'fundamental' result types.
Check this and raise an error when something else is used - before this change ctypes would hang or crash when such a callback was called. This is a partial fix for #1574584. Will backport to release25-maint.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 9d22aed..b0f8f55 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -81,6 +81,10 @@ Core and builtins
Library
-------
+- ctypes callback functions only support 'fundamental' data types as
+ result type. Raise an error when something else is used. This is a
+ partial fix for Bug #1574584.
+
- Fix turtle so that time.sleep is imported for the entire library. Allows
the demo2 function to be executed on its own instead of only when the
module is run as a script.