Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r46151:2cd06a7a2bdb Date: 2011-08-01 15:42 +0200 http://bitbucket.org/pypy/pypy/changeset/2cd06a7a2bdb/
Log: Don't do a lookup based on 'self' here. Seems to be needed for tests. diff --git a/pypy/module/_multibytecodec/app_multibytecodec.py b/pypy/module/_multibytecodec/app_multibytecodec.py --- a/pypy/module/_multibytecodec/app_multibytecodec.py +++ b/pypy/module/_multibytecodec/app_multibytecodec.py @@ -19,7 +19,7 @@ else: data = read(size) final = not data - output = self.decode(data, final) + output = MultibyteIncrementalDecoder.decode(self, data, final) if output or final: return output size = 1 # read 1 more byte and retry @@ -41,7 +41,7 @@ return self def write(self, data): - self.stream.write(self.encode(data)) + self.stream.write(MultibyteIncrementalEncoder.encode(self, data)) def writelines(self, lines): for data in lines: _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit