Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 40dcb1d + c542547 commit f2b5673Copy full SHA for f2b5673
1 file changed
Doc/reference/datamodel.rst
@@ -69,6 +69,8 @@ are still reachable.
69
containing circular references. See the documentation of the :mod:`gc`
70
module for information on controlling the collection of cyclic garbage.
71
Other implementations act differently and CPython may change.
72
+ Do not depend on immediate finalization of objects when they become
73
+ unreachable (ex: always close files).
74
75
Note that the use of the implementation's tracing or debugging facilities may
76
keep objects alive that would normally be collectable. Also note that catching
0 commit comments