[pypy-commit] pypy unicode-utf8: revert unintended commit in 341ddb374260
mattip
pypy.commits at gmail.com
Sun Mar 18 18:12:10 EDT 2018
Author: Matti Picus <matti.picus at 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)
More information about the pypy-commit
mailing list