Author: Antonio Cuni <anto.c...@gmail.com> Branch: py3k Changeset: r52502:1d322e23e812 Date: 2012-02-15 11:18 +0100 http://bitbucket.org/pypy/pypy/changeset/1d322e23e812/
Log: kill XXX after discussion with armin on IRC, we don't care :-) diff --git a/pypy/interpreter/pyopcode.py b/pypy/interpreter/pyopcode.py --- a/pypy/interpreter/pyopcode.py +++ b/pypy/interpreter/pyopcode.py @@ -495,11 +495,6 @@ w_type = space.type(w_value) operror = OperationError(w_type, w_value, w_cause=w_cause) operror.normalize_exception(space) - # XXX: we actually know that w_value is an instance of - # W_BaseException, so we could directly use w_value.w_traceback, - # however that class belongs to the std objspace, so for now we just - # go through all the getattr machinery (which is removed by the JIT - # anyway) tb = space.getattr(w_value, space.wrap('__traceback__')) if tb is not None: operror.set_traceback(tb) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit