Summary: | Tuples not unpacked correctly in a for statement | ||
---|---|---|---|
Product: | [Developer tools] kdev-python | Reporter: | Nicolás Alvarez <nalvarez> |
Component: | Language support | Assignee: | Sven Brauch <mail> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | git master | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdev-python/f24284763f9b82366d8f86ee1f0f179333747d62 | Version Fixed In: |
Description
Nicolás Alvarez
2012-08-26 18:59:25 UTC
Git commit f24284763f9b82366d8f86ee1f0f179333747d62 by Sven Brauch. Committed on 26/08/2012 at 21:46. Pushed by brauch into branch 'master'. Support iterating over lists of tuples while unpacking those. Code example: c = [(1, 2)] for a, b in c: print a, b # a, b are ints should fix M +48 -7 duchain/declarationbuilder.cpp M +24 -0 duchain/expressionvisitor.cpp M +4 -0 duchain/tests/pyduchaintest.cpp http://commits.kde.org/kdev-python/f24284763f9b82366d8f86ee1f0f179333747d62 |