[pypy-commit] pypy py3.5-byteformat: redirect format r to a in py3
plan_rich
pypy.commits at gmail.com
Wed Aug 31 04:58:52 EDT 2016
Author: Richard Plangger <planrichi at gmail.com>
Branch: py3.5-byteformat
Changeset: r86770:8007dd7e86a6
Date: 2016-08-31 10:15 +0200
http://bitbucket.org/pypy/pypy/changeset/8007dd7e86a6/
Log: redirect format r to a in py3
diff --git a/pypy/objspace/std/formatting.py b/pypy/objspace/std/formatting.py
--- a/pypy/objspace/std/formatting.py
+++ b/pypy/objspace/std/formatting.py
@@ -438,7 +438,7 @@
self.std_wp(s)
def fmt_r(self, w_value):
- self.std_wp(self.space.unicode_w(self.space.repr(w_value)))
+ self.fmt_a(w_value)
def fmt_a(self, w_value):
from pypy.objspace.std.unicodeobject import ascii_from_object
More information about the pypy-commit
mailing list