Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c8e8281

Browse files
committed
Updated note about collection of cyclic garbage, based on comments from
Chris Ryland.
1 parent ef8cd7c commit c8e8281

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

Doc/ref/ref3.tex

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,12 @@ \section{Objects, values and types\label{objects}}
4545
a matter of implementation quality how garbage collection is
4646
implemented, as long as no objects are collected that are still
4747
reachable. (Implementation note: the current implementation uses a
48-
reference-counting scheme which collects most objects as soon as they
49-
become unreachable, but never collects garbage containing circular
50-
references.)
48+
reference-counting scheme with (optional) delayed detection of
49+
cyclicly linked garbage, which collects most objects as soon as they
50+
become unreachable, but is not guaranteed to collect garbage
51+
containing circular references. See the
52+
\citetitle[../lib/module-gc.html]{Python Library Reference} for
53+
information on controlling the collection of cyclic garbage.)
5154
\index{garbage collection}
5255
\index{reference counting}
5356
\index{unreachable object}

0 commit comments

Comments
 (0)