- Issue #13840: Fix ctypes.create_string_buffer exception message and docs.
authorMeador Inge <meadori@gmail.com>
Thu, 26 Jan 2012 14:47:27 +0000 (08:47 -0600)
committerMeador Inge <meadori@gmail.com>
Thu, 26 Jan 2012 14:47:27 +0000 (08:47 -0600)
1  2 
Doc/library/ctypes.rst
Misc/NEWS
Modules/_ctypes/_ctypes.c

Simple merge
diff --cc Misc/NEWS
index 2dab0a1c368ec3f2bc7dc8fe883c46db6489b1a9,7005518d121b332c9bab5801c6697de429b49e66..70d80951f7994441e1a6b451f7d7831ca23d88eb
+++ b/Misc/NEWS
@@@ -1837,53 -1300,6 +1837,56 @@@ Tools/Demo
  Extension Modules
  -----------------
  
++- Issue #13840: The error message produced by ctypes.create_string_buffer
++  when given a Unicode string has been fixed.
++
 +- Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch by
 +  Vilmos Nebehaj.
 +
 +- Issue #7777: socket: Add Reliable Datagram Sockets (PF_RDS) support.
 +
 +- Issue #13159: FileIO and BZ2Compressor/BZ2Decompressor now use a linear-time
 +  buffer growth strategy instead of a quadratic-time one.
 +
 +- Issue #10141: socket: Add SocketCAN (PF_CAN) support. Initial patch by
 +  Matthias Fuchs, updated by Tiago Gonçalves.
 +
 +- Issue #13070: Fix a crash when a TextIOWrapper caught in a reference cycle
 +  would be finalized after the reference to its underlying BufferedRWPair's
 +  writer got cleared by the GC.
 +
 +- Issue #12881: ctypes: Fix segfault with large structure field names.
 +
 +- Issue #13058: ossaudiodev: fix a file descriptor leak on error. Patch by
 +  Thomas Jarosch.
 +
 +- Issue #13013: ctypes: Fix a reference leak in PyCArrayType_from_ctype.
 +  Thanks to Suman Saha for finding the bug and providing a patch.
 +
 +- Issue #13022: Fix: _multiprocessing.recvfd() doesn't check that
 +  file descriptor was actually received.
 +
 +- Issue #1172711: Add 'long long' support to the array module.
 +  Initial patch by Oren Tirosh and Hirokazu Yamamoto.
 +
 +- 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 #12051: Fix segfault in json.dumps() while encoding highly-nested
    objects using the C accelerations.
  
Simple merge