Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r90246:3a0d83a1dcc2
Date: 2017-02-21 09:23 +0100
http://bitbucket.org/pypy/pypy/changeset/3a0d83a1dcc2/

Log:    wrap -> newtext, but never reachable right now

diff --git a/pypy/module/cppyy/interp_cppyy.py 
b/pypy/module/cppyy/interp_cppyy.py
--- a/pypy/module/cppyy/interp_cppyy.py
+++ b/pypy/module/cppyy/interp_cppyy.py
@@ -36,7 +36,7 @@
     try:
         cdll = capi.c_load_dictionary(name)
         if not cdll:
-           raise OperationError(space.w_RuntimeError, space.wrap(str("could 
not load dictionary " + name)))
+           raise OperationError(space.w_RuntimeError, space.newtext(str("could 
not load dictionary " + name)))
 
     except rdynload.DLOpenError as e:
         if hasattr(space, "fake"):      # FakeSpace fails e.msg (?!)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to