[pypy-svn] r14950 - pypy/dist/pypy/interpreter/pyparser
pedronis at codespeak.net
pedronis at codespeak.net
Sat Jul 23 01:49:30 CEST 2005
Author: pedronis
Date: Sat Jul 23 01:49:29 2005
New Revision: 14950
Modified:
pypy/dist/pypy/interpreter/pyparser/automata.py
Log:
the rtyper does not support dict with str or None keys. ugly workaround for now.
string-keyed dicts do not seem the best way to store these char indexed tables
Modified: pypy/dist/pypy/interpreter/pyparser/automata.py
==============================================================================
--- pypy/dist/pypy/interpreter/pyparser/automata.py (original)
+++ pypy/dist/pypy/interpreter/pyparser/automata.py Sat Jul 23 01:49:29 2005
@@ -18,7 +18,7 @@
# a simple None works fine.
# (Having a DefaultClass inheriting from str makes
# the annotator crash)
-DEFAULT = None
+DEFAULT = "\00default"
# PYPY Modification : removed all automata functions (any, maybe,
# newArcPair, etc.)
More information about the Pypy-commit
mailing list