[pypy-commit] pypy py3k: Bytes, not unicode unwrapping
dusty
noreply at buildbot.pypy.org
Wed Mar 14 11:32:30 CET 2012
Author: Dusty Phillips <dusty at buchuki.com>
Branch: py3k
Changeset: r53546:6c74f520786f
Date: 2012-03-13 17:55 -0700
http://bitbucket.org/pypy/pypy/changeset/6c74f520786f/
Log: Bytes, not unicode unwrapping
diff --git a/pypy/interpreter/pycode.py b/pypy/interpreter/pycode.py
--- a/pypy/interpreter/pycode.py
+++ b/pypy/interpreter/pycode.py
@@ -407,14 +407,14 @@
w(self.co_nlocals),
w(self.co_stacksize),
w(self.co_flags),
- w(self.co_code),
+ space.wrapbytes(self.co_code),
space.newtuple(self.co_consts_w),
space.newtuple(self.co_names_w),
space.newtuple([w(v) for v in self.co_varnames]),
w(self.co_filename),
w(self.co_name),
w(self.co_firstlineno),
- w(self.co_lnotab),
+ space.wrapbytes(self.co_lnotab),
space.newtuple([w(v) for v in self.co_freevars]),
space.newtuple([w(v) for v in self.co_cellvars]),
w(self.magic),
More information about the pypy-commit
mailing list