Author: Antonio Cuni <[email protected]> Branch: Changeset: r44662:5084cbcec765 Date: 2011-06-03 15:17 +0200 http://bitbucket.org/pypy/pypy/changeset/5084cbcec765/
Log: mention this difference in cpython-differences.rst diff --git a/pypy/doc/cpython_differences.rst b/pypy/doc/cpython_differences.rst --- a/pypy/doc/cpython_differences.rst +++ b/pypy/doc/cpython_differences.rst @@ -136,6 +136,11 @@ next access. Any code that uses weak proxies must carefully catch such ``ReferenceError`` at any place that uses them. +As a side effect, the ``finally`` clause inside a generator will be executed +only when the generator object is garbage collected (see `issue 736`__). + +.. __: http://bugs.pypy.org/issue736 + There are a few extra implications for the difference in the GC. Most notably, if an object has a ``__del__``, the ``__del__`` is never called more than once in PyPy; but CPython will call the same ``__del__`` several times _______________________________________________ pypy-commit mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-commit
