Author: Matti Picus <[email protected]>
Branch: py3.5
Changeset: r93526:0fda157e0d0e
Date: 2017-12-21 07:15 +0200
http://bitbucket.org/pypy/pypy/changeset/0fda157e0d0e/
Log: fix translation?
diff --git a/pypy/interpreter/pycode.py b/pypy/interpreter/pycode.py
--- a/pypy/interpreter/pycode.py
+++ b/pypy/interpreter/pycode.py
@@ -204,7 +204,7 @@
if lastdirname:
basename = '%s/%s' % (lastdirname, basename)
self.co_filename = '<builtin>/%s' % (basename,)
- self.w_filename = space.newfilename(self.co_filename)
+ self.w_filename = self.space.newfilename(self.co_filename)
co_names = property(lambda self: [self.space.str_w(w_name) for w_name in
self.co_names_w]) # for trace
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit