[pypy-svn] r32437 - pypy/dist/pypy/interpreter/astcompiler
arigo at codespeak.net
arigo at codespeak.net
Mon Sep 18 11:28:23 CEST 2006
Author: arigo
Date: Mon Sep 18 11:28:22 2006
New Revision: 32437
Modified:
pypy/dist/pypy/interpreter/astcompiler/symbols.py
Log:
Look away
Modified: pypy/dist/pypy/interpreter/astcompiler/symbols.py
==============================================================================
--- pypy/dist/pypy/interpreter/astcompiler/symbols.py (original)
+++ pypy/dist/pypy/interpreter/astcompiler/symbols.py Mon Sep 18 11:28:22 2006
@@ -501,7 +501,12 @@
if scope.firstReturnWithArgument is None:
scope.firstReturnWithArgument = node
node.value.accept(self)
-
+
+ def visitCondExpr(self, node):
+ issue_warning(self.space, "conditional expression",
+ node.filename, node.lineno)
+ ast.ASTVisitor.visitCondExpr(self, node)
+
def sort(l):
l = l[:]
l.sort()
More information about the Pypy-commit
mailing list