https://bugs.kde.org/show_bug.cgi?id=359914

            Bug ID: 359914
           Summary: Sequence unpacking with nested tuples doesn't
                    recognize types
           Product: kdev-python
           Version: frameworks
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Language support
          Assignee: m...@svenbrauch.de
          Reporter: nicolas.alva...@gmail.com

When unpacking nested tuples, kdev-python doesn't recognize the types of the
unpacked variables.

For example:
data = (1, ('x', 3.0))

iii, ttt = data # 'iii' is int, 'ttt' is tuple
sss, fff = ttt  # 'sss' is str, 'fff' is float
aaa, (bbb, ccc) = data # however aaa, bbb and ccc are all 'mixed' here

Related: bug 314024 where this was implemented (it gave 'undefined variable'
before)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to