diff options
author | Thomas Heller <theller@ctypes.org> | 2006-10-17 19:30:48 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2006-10-17 19:30:48 (GMT) |
commit | d2ea4a258401dd97a5084398803ee8193f4f9c7a (patch) | |
tree | d50ed8d8d690616d05239f77eb6944de1cc79b1e /Misc/NEWS | |
parent | fefbc2029cf131cabb32fe4540fdbac12d40a271 (diff) | |
download | cpython-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/NEWS')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |