]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Merge 3.2: Issue #12483: ctypes: Fix a crash when the destruction of a callback
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Mon, 12 Sep 2011 19:09:12 +0000 (21:09 +0200)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Mon, 12 Sep 2011 19:09:12 +0000 (21:09 +0200)
  object triggers the garbage collector.

1  2 
Misc/NEWS

diff --cc Misc/NEWS
index 7218bfd49d9500352ec5e5297ce979eb42aece60,d52156d417ced2e3367db35ec675e7aaaa7f213d..e3203d3efdcca17f25b69e9c70a6dbcd74d00a75
+++ b/Misc/NEWS
@@@ -1274,23 -916,6 +1274,26 @@@ Tools/Demo
  Extension Modules
  -----------------
  
++- Issue #12483: ctypes: Fix a crash when the destruction of a callback
++  object triggers the garbage collector.
++
 +- Issue #12950: Fix passing file descriptors in multiprocessing, under
 +  OpenIndiana/Illumos.
 +
 +- Issue #12764: Fix a crash in ctypes when the name of a Structure field is not
 +  a string.
 +
 +- Issue #11241: subclasses of ctypes.Array can now be subclassed.
 +
 +- Issue #9651: Fix a crash when ctypes.create_string_buffer(0) was passed to
 +  some functions like file.write().
 +
 +- Issue #10309: Define _GNU_SOURCE so that mremap() gets the proper
 +  signature.  Without this, architectures where sizeof void* != sizeof int are
 +  broken.  Patch given by Hallvard B Furuseth.
 +
 +- Issue #12221: Replace pyexpat.__version__ with the Python version.
 +
  - Issue #12051: Fix segfault in json.dumps() while encoding highly-nested
    objects using the C accelerations.