Author: Ronan Lamy <[email protected]>
Branch: expressions-2
Changeset: r74568:973af528a300
Date: 2014-11-18 02:22 +0000
http://bitbucket.org/pypy/pypy/changeset/973af528a300/
Log: fix
diff --git a/rpython/flowspace/model.py b/rpython/flowspace/model.py
--- a/rpython/flowspace/model.py
+++ b/rpython/flowspace/model.py
@@ -153,13 +153,6 @@
view = show
-last_exception = Atom('last_exception')
-c_last_exception = Constant(last_exception)
-# if Block().exitswitch == Constant(last_exception), it means that we are
-# interested in catching the exception that the *last operation* of the
-# block could raise. The exitcases of the links are None for no exception
-# or XxxError classes to catch the matching exceptions.
-
class Block(object):
__slots__ = """inputargs operations exitswitch
@@ -469,6 +462,13 @@
def __repr__(self):
return self.__name__
+last_exception = Atom('last_exception')
+c_last_exception = Constant(last_exception)
+# if Block().exitswitch == Constant(last_exception), it means that we are
+# interested in catching the exception that the *last operation* of the
+# block could raise. The exitcases of the links are None for no exception
+# or XxxError classes to catch the matching exceptions.
+
def uniqueitems(lst):
"Returns a list with duplicate elements removed."
result = []
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit