Author: Armin Rigo <ar...@tunes.org>
Branch: py3.5
Changeset: r88814:14f7085831c5
Date: 2016-12-02 11:30 +0100
http://bitbucket.org/pypy/pypy/changeset/14f7085831c5/

Log:    document another very obscure case where CPython differs from PyPy

diff --git a/pypy/interpreter/astcompiler/test/test_compiler.py 
b/pypy/interpreter/astcompiler/test/test_compiler.py
--- a/pypy/interpreter/astcompiler/test/test_compiler.py
+++ b/pypy/interpreter/astcompiler/test/test_compiler.py
@@ -1133,6 +1133,14 @@
         # is not implemented in PyPy".  The reason it is not is that it
         # seems we need to refactor some things to implement it exactly
         # like CPython, and I seriously don't think there is a point
+        #
+        # Another case which so far works on CPython but not on PyPy:
+        #class X:
+        #    __class__ = 42
+        #    def f(self):
+        #        return __class__
+        #assert X.__dict__['__class__'] == 42
+        #assert X().f() is X
 
     def test_error_message_1(self):
         source = """if 1:
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to