Author: Carl Friedrich Bolz <[email protected]> Branch: Changeset: r91974:bff059fd0c08 Date: 2017-07-27 14:41 +0200 http://bitbucket.org/pypy/pypy/changeset/bff059fd0c08/
Log: document that methods also use the special-casing of is and id 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 @@ -330,6 +330,8 @@ - ``frozenset`` (empty frozenset only) + - unbound and bound method objects + This change requires some changes to ``id`` as well. ``id`` fulfills the following condition: ``x is y <=> id(x) == id(y)``. Therefore ``id`` of the above types will return a value that is computed from the argument, and can _______________________________________________ pypy-commit mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-commit
