merged in latest cython-devel
authorStefan Behnel <scoder@users.berlios.de>
Fri, 21 Aug 2009 12:54:26 +0000 (14:54 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 21 Aug 2009 12:54:26 +0000 (14:54 +0200)
1  2 
Cython/Compiler/Builtin.py
Cython/Compiler/Code.py
Cython/Compiler/ExprNodes.py
Cython/Compiler/ModuleNode.py
Cython/Compiler/Naming.py
Cython/Compiler/Nodes.py
Cython/Compiler/Optimize.py
Cython/Compiler/Options.py
Cython/Compiler/PyrexTypes.py

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index f40a301be42c1e9212566aa0a6d9156563ed4e6e,cfd4a933c79aa73f668307fd8f690b9582f55a45..f6ef6a82f263987c2487cd30d24cc006659751f3
@@@ -7,24 -7,13 +7,20 @@@ import UtilNode
  import TypeSlots
  import Symtab
  import Options
 -from StringEncoding import EncodedString
  
 +from Code import UtilityCode
 +from StringEncoding import EncodedString
 +from Errors import error
  from ParseTreeTransforms import SkipDeclarations
  
- #def unwrap_node(node):
- #    while isinstance(node, ExprNodes.PersistentNode):
- #        node = node.arg
- #    return node
- # Temporary hack while PersistentNode is out of order
 +try:
 +    reduce
 +except NameError:
 +    from functools import reduce
 +
  def unwrap_node(node):
+     while isinstance(node, UtilNodes.ResultRefNode):
+         node = node.expression
      return node
  
  def is_common_value(a, b):
Simple merge
Simple merge