[pypy-svn] r78176 - pypy/trunk/pypy/objspace/flow
afa at codespeak.net
afa at codespeak.net
Thu Oct 21 17:08:51 CEST 2010
Author: afa
Date: Thu Oct 21 17:08:49 2010
New Revision: 78176
Modified:
pypy/trunk/pypy/objspace/flow/flowcontext.py
Log:
Move SETUP_WITH out of the Unimplemented section
Modified: pypy/trunk/pypy/objspace/flow/flowcontext.py
==============================================================================
--- pypy/trunk/pypy/objspace/flow/flowcontext.py (original)
+++ pypy/trunk/pypy/objspace/flow/flowcontext.py Thu Oct 21 17:08:49 2010
@@ -460,21 +460,6 @@
else:
v = self.peekvalue(oparg - 1)
self.space.call_method(v, 'append', w)
-
- # XXX Unimplemented 2.7 opcodes ----------------
-
- # Set literals, set comprehensions
-
- def BUILD_SET(self, oparg, next_instr):
- raise NotImplementedError("BUILD_SET")
-
- def SET_ADD(self, oparg, next_instr):
- raise NotImplementedError("SET_ADD")
-
- # Dict comprehensions
-
- def MAP_ADD(self, oparg, next_instr):
- raise NotImplementedError("MAP_ADD")
# `with` statement
@@ -491,6 +476,21 @@
self.append_block(block)
self.pushvalue(w_result)
+ # XXX Unimplemented 2.7 opcodes ----------------
+
+ # Set literals, set comprehensions
+
+ def BUILD_SET(self, oparg, next_instr):
+ raise NotImplementedError("BUILD_SET")
+
+ def SET_ADD(self, oparg, next_instr):
+ raise NotImplementedError("SET_ADD")
+
+ # Dict comprehensions
+
+ def MAP_ADD(self, oparg, next_instr):
+ raise NotImplementedError("MAP_ADD")
+
def make_arguments(self, nargs):
return ArgumentsForTranslation(self.space, self.peekvalues(nargs))
def argument_factory(self, *args):
More information about the Pypy-commit
mailing list