Author: Philip Jenvey <[email protected]>
Branch: py3k-readline
Changeset: r260:c4629148366e
Date: 2014-10-28 14:09 -0700
http://bitbucket.org/pypy/pyrepl/changeset/c4629148366e/
Log: back out dcd221b49852, this breaks other things
diff --git a/pyrepl/reader.py b/pyrepl/reader.py
--- a/pyrepl/reader.py
+++ b/pyrepl/reader.py
@@ -51,7 +51,7 @@
return u[c]
else:
if unicodedata.category(c).startswith('C'):
- return '\u%04x' % ord(c)
+ return br'\u%04x' % ord(c)
else:
return c
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit