]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Merge from 3.2: Issue #12764: Fix a crash in ctypes when the name of a
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Fri, 2 Sep 2011 18:43:59 +0000 (20:43 +0200)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Fri, 2 Sep 2011 18:43:59 +0000 (20:43 +0200)
Structure field is not a string.

1  2 
Misc/NEWS

diff --cc Misc/NEWS
index d83c12226c60f4c35fe373691e32f2de5829e928,f489ab257eae93e99d70f00619466a3c19a7fa06..215bc849f798f45af38ff0a2e028ac147eeb5e99
+++ b/Misc/NEWS
@@@ -1240,17 -872,6 +1240,20 @@@ Tools/Demo
  Extension Modules
  -----------------
  
++- 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.