Author: Philip Jenvey <pjen...@underboss.org> Branch: py3k Changeset: r71787:c8596183deb9 Date: 2014-05-30 12:12 -0700 http://bitbucket.org/pypy/pypy/changeset/c8596183deb9/
Log: fix windows' translation diff --git a/pypy/module/_winreg/interp_winreg.py b/pypy/module/_winreg/interp_winreg.py --- a/pypy/module/_winreg/interp_winreg.py +++ b/pypy/module/_winreg/interp_winreg.py @@ -328,7 +328,7 @@ buf[0] = '\0' else: try: - value = w_value.readbuf_w(space) + value = w_value.buffer_w(space, space.BUF_SIMPLE) except TypeError: raise oefmt(space.w_TypeError, "Objects of type '%T' can not be used as binary " _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit