[pypy-commit] pyrepl py3ksupport: add for forgotten basestring tuple for python3

RonnyPfannschmidt noreply at buildbot.pypy.org
Thu Oct 20 18:25:46 CEST 2011


Author: Ronny Pfannschmidt <Ronny.Pfannschmidt at gmx.de>
Branch: py3ksupport
Changeset: r151:69c3300fb54e
Date: 2011-10-20 18:25 +0200
http://bitbucket.org/pypy/pyrepl/changeset/69c3300fb54e/

Log:	add for forgotten basestring tuple for python3

diff --git a/pyrepl/reader.py b/pyrepl/reader.py
--- a/pyrepl/reader.py
+++ b/pyrepl/reader.py
@@ -28,6 +28,7 @@
 except NameError:
     unicode = str
     unichr = chr
+    basestring = bytes, str
 
 def _make_unctrl_map():
     uc_map = {}


More information about the pypy-commit mailing list