Author: Armin Rigo <[email protected]>
Branch:
Changeset: r72898:8bc429151c06
Date: 2014-08-19 08:50 +0200
http://bitbucket.org/pypy/pypy/changeset/8bc429151c06/
Log: Issue #1848: patch by paulie4
diff --git a/lib_pypy/pyrepl/reader.py b/lib_pypy/pyrepl/reader.py
--- a/lib_pypy/pyrepl/reader.py
+++ b/lib_pypy/pyrepl/reader.py
@@ -93,7 +93,7 @@
st = {}
for c in map(unichr, range(256)):
st[c] = SYNTAX_SYMBOL
- for c in [a for a in map(unichr, range(256)) if a.isalpha()]:
+ for c in [a for a in map(unichr, range(256)) if a.isalnum()]:
st[c] = SYNTAX_WORD
st[u'\n'] = st[u' '] = SYNTAX_WHITESPACE
return st
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit