fix for assignments to sequences
authorStefan Behnel <scoder@users.berlios.de>
Fri, 21 Nov 2008 10:16:40 +0000 (11:16 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Fri, 21 Nov 2008 10:16:40 +0000 (11:16 +0100)
commit40002217949319837aab4b729090afc17ecc58e6
tree7ff24e12bbbc8c96fb0db31456c3c6665fde3c7b
parentd5df4c24202429036a5f4f3d29655b9e49570df8
fix for assignments to sequences
- in the case of an unpacking error, no assignment must take place
  => do the complete unpacking first, then the assignment
- a tiny bit slower for tuples (<5%)
- shorter, much more readable code
Cython/Compiler/ExprNodes.py
tests/run/tupleassign.pyx [new file with mode: 0644]