Author: Armin Rigo <ar...@tunes.org> Branch: kill-someobject Changeset: r57817:03894bc023c5 Date: 2012-10-07 16:31 +0200 http://bitbucket.org/pypy/pypy/changeset/03894bc023c5/
Log: A bunch more. diff --git a/pypy/rpython/exceptiondata.py b/pypy/rpython/exceptiondata.py --- a/pypy/rpython/exceptiondata.py +++ b/pypy/rpython/exceptiondata.py @@ -59,6 +59,16 @@ raise ValueError if classname == 'ZeroDivisionError': raise ZeroDivisionError + if classname == 'MemoryError': + raise MemoryError + if classname == 'IOError': + raise IOError + if classname == 'StopIteration': + raise StopIteration + if classname == 'KeyError': + raise KeyError + if classname == 'IndexError': + raise IndexError raise NotImplementedError # we did not special-case this so far helper_fn = rtyper.annotate_helper_fn(ll_raise_noarg, [annmodel.SomeString()]) return helper_fn _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit