Author: Carl Friedrich Bolz-Tereick <[email protected]>
Branch: py3.6-wordcode
Changeset: r94708:95399d92b028
Date: 2018-05-26 10:08 +0200
http://bitbucket.org/pypy/pypy/changeset/95399d92b028/
Log: at least give a clear error message
diff --git a/pypy/interpreter/pycode.py b/pypy/interpreter/pycode.py
--- a/pypy/interpreter/pycode.py
+++ b/pypy/interpreter/pycode.py
@@ -216,7 +216,7 @@
"""
Hack to initialize the code object from a real (CPython) one.
"""
- XXX
+ raise TypeError("assert reinterpretation for applevel tests is broken
on PyPy3!")
assert isinstance(code, types.CodeType)
newconsts_w = [None] * len(code.co_consts)
num = 0
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit