[pypy-svn] r79547 - pypy/extradoc/pypy.org/source
antocuni at codespeak.net
antocuni at codespeak.net
Fri Nov 26 13:19:13 CET 2010
Author: antocuni
Date: Fri Nov 26 13:19:12 2010
New Revision: 79547
Modified:
pypy/extradoc/pypy.org/source/compat.txt
Log:
rewrite this paragraph. We *do* support gc.get_referrers nowadays
Modified: pypy/extradoc/pypy.org/source/compat.txt
==============================================================================
--- pypy/extradoc/pypy.org/source/compat.txt (original)
+++ pypy/extradoc/pypy.org/source/compat.txt Fri Nov 26 13:19:12 2010
@@ -72,11 +72,11 @@
with open("filename", "w") as f:
f.write("stuff")
-* We don't support certain attributes that were decided to be
- implementation-dependent. For example, ``gc.get_referrers`` does not exist.
- Others may have different behavior; for example, ``gc.enable`` and
- ``gc.disable`` are supported, but they don't enable and disable the GC, but
- instead just enable and disable the running of finalizers.
+* For the same reason, some functions and attributes of the ``gc`` module
+ behave in a slightly different way: for example, ``gc.enable`` and
+ ``gc.disable`` are supported, but instead of enabling and disabling the GC,
+ they just enable and disable the execution of finalizers. Also,
+ ``gc.garbage`` always returns an empty list.
* You can't attach a ``__del__`` method to a class after its creation.
More information about the Pypy-commit
mailing list