better error message
authorStefan Behnel <scoder@users.berlios.de>
Tue, 25 May 2010 18:43:19 +0000 (20:43 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Tue, 25 May 2010 18:43:19 +0000 (20:43 +0200)
Cython/Compiler/Nodes.py

index 77d73b974c8a51d25466a4e0b4358ee4652843bc..899eaee1bffdf7afa0d8939013a8d97d6bd3b5a7 100644 (file)
@@ -3578,7 +3578,7 @@ class InPlaceAssignmentNode(AssignmentNode):
                                              indices = indices,
                                              is_temp = self.dup.is_temp)
         else:
-            assert False
+            assert False, "Unsupported node: %s" % type(self.lhs)
         self.lhs = target_lhs
         return self.dup