summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-03-30 22:43:00 (GMT)
committerGeorg Brandl <georg@python.org>2009-03-30 22:43:00 (GMT)
commitdc340eedaa71bb6a86fd887a807020ccf1cbf520 (patch)
tree6c84c289a51b4c5ecc3739545986d2bde41f00c0 /Doc/reference
parentdbf95a3643ddad5909d815463f53bebd534f30cf (diff)
downloadcpython-dc340eedaa71bb6a86fd887a807020ccf1cbf520.zip
cpython-dc340eedaa71bb6a86fd887a807020ccf1cbf520.tar.gz
cpython-dc340eedaa71bb6a86fd887a807020ccf1cbf520.tar.bz2
#5039: make it clear that the impl. note refers to CPython.
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/datamodel.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 0c1a10e..a6b85f0 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -56,12 +56,13 @@ Objects are never explicitly destroyed; however, when they become unreachable
they may be garbage-collected. An implementation is allowed to postpone garbage
collection or omit it altogether --- it is a matter of implementation quality
how garbage collection is implemented, as long as no objects are collected that
-are still reachable. (Implementation note: the current implementation uses a
+are still reachable. (Implementation note: CPython currently uses a
reference-counting scheme with (optional) delayed detection of cyclically linked
garbage, which collects most objects as soon as they become unreachable, but is
not guaranteed to collect garbage containing circular references. See the
documentation of the :mod:`gc` module for information on controlling the
-collection of cyclic garbage.)
+collection of cyclic garbage. Other implementations act differently and CPython
+may change.)
Note that the use of the implementation's tracing or debugging facilities may
keep objects alive that would normally be collectable. Also note that catching