summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2017-10-13 14:44:44 +0200
committerArmin Rigo <arigo@tunes.org>2017-10-13 14:44:44 +0200
commitec4a03857c7c1985f7ca54c1a4fb143101134786 (patch)
tree7c069afc60f21edf3673cab61f1d07aa45163faf /doc
parent3b948a8a04e48b8058a6b638a4f50778d3b69218 (diff)
downloadcffi-ec4a03857c7c1985f7ca54c1a4fb143101134786.tar.gz
Document for issue 340
Diffstat (limited to 'doc')
-rw-r--r--doc/source/ref.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/source/ref.rst b/doc/source/ref.rst
index fd64536..23ea733 100644
--- a/doc/source/ref.rst
+++ b/doc/source/ref.rst
@@ -401,7 +401,12 @@ The form ``ffi.gc(ptr, None, size=0)`` can be called with a negative
nothing gets out of sync if the size estimates do not match. It only
makes the next GC start more or less early.
+Note that if you have several ``ffi.gc()`` objects, the corresponding
+destructors will be called in a random order. If you need a particular
+order, see the discussion in `issue 340`__.
+
.. __: http://bugs.python.org/issue31105
+.. __: https://bitbucket.org/cffi/cffi/issues/340/resources-release-issues
.. _ffi-new-handle: