Author: Matti Picus <matti.pi...@gmail.com> Branch: unicode-utf8 Changeset: r93993:f8aaef6e3548 Date: 2018-03-18 23:11 +0100 http://bitbucket.org/pypy/pypy/changeset/f8aaef6e3548/
Log: revert unintended commit in 341ddb374260 diff --git a/rpython/rtyper/lltypesystem/rffi.py b/rpython/rtyper/lltypesystem/rffi.py --- a/rpython/rtyper/lltypesystem/rffi.py +++ b/rpython/rtyper/lltypesystem/rffi.py @@ -1328,7 +1328,7 @@ def __init__(self, data): self.data = data def __enter__(self): - self.buf, self.flag = get_nonmoving_unicodebuffer(self.data.decode('utf-8')) + self.buf, self.flag = get_nonmoving_unicodebuffer(self.data) return self.buf def __exit__(self, *args): free_nonmoving_unicodebuffer(self.data, self.buf, self.flag) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit