[pypy-commit] cffi default: whatsnew: ffi.gc fix

arigo noreply at buildbot.pypy.org
Sat Jun 6 21:00:28 CEST 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r2164:0a6cf359cc4a
Date: 2015-06-06 21:01 +0200
http://bitbucket.org/cffi/cffi/changeset/0a6cf359cc4a/

Log:	whatsnew: ffi.gc fix

diff --git a/doc/source/whatsnew.rst b/doc/source/whatsnew.rst
--- a/doc/source/whatsnew.rst
+++ b/doc/source/whatsnew.rst
@@ -13,6 +13,11 @@
 * Out-of-line ABI mode: documented a restriction__ of ``ffi.dlopen()``
   when compared to the in-line mode.
 
+* ``ffi.gc()``: when called several times with equal pointers, it was
+  accidentally registering only the last destructor, or even none at
+  all depending on details.  (It was correctly registering all of them
+  only in PyPy, and only with the out-of-line FFIs.)
+
 .. __: cdef.html#dlopen-note
 
 


More information about the pypy-commit mailing list