From: Stefan Behnel Date: Wed, 9 Dec 2009 15:43:31 +0000 (+0100) Subject: comment X-Git-Tag: 0.12.1~47 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3f305e439fdcc21c9f5536402898b5892c0ee1be;p=cython.git comment --- diff --git a/Cython/Compiler/Optimize.py b/Cython/Compiler/Optimize.py index c6500bbe..8c97b074 100644 --- a/Cython/Compiler/Optimize.py +++ b/Cython/Compiler/Optimize.py @@ -616,6 +616,9 @@ class DropRefcountingTransform(Visitor.VisitorTransform): visit_Node = Visitor.VisitorTransform.recurse_to_children def visit_ParallelAssignmentNode(self, node): + """ + Parallel swap assignments like 'a,b = b,a' are safe. + """ left_names, right_names = [], [] left_indices, right_indices = [], [] temps = []