From: Stefan Behnel Date: Tue, 25 May 2010 18:43:19 +0000 (+0200) Subject: better error message X-Git-Tag: 0.13.beta0~2^2~45 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=84ee8e9c1ce761c18ed300bcb767c12b88bf1c0c;p=cython.git better error message --- diff --git a/Cython/Compiler/Nodes.py b/Cython/Compiler/Nodes.py index 77d73b97..899eaee1 100644 --- a/Cython/Compiler/Nodes.py +++ b/Cython/Compiler/Nodes.py @@ -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