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

Sven Brauch <m...@svenbrauch.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://invent.kde.org/kdev
                   |                            |elop/kdev-python/commit/7db
                   |                            |8f71c9fd9c5c2ffc32638b91ba2
                   |                            |2916b6f69d

--- Comment #8 from Sven Brauch <m...@svenbrauch.de> ---
Git commit 7db8f71c9fd9c5c2ffc32638b91ba22916b6f69d by Sven Brauch.
Committed on 19/09/2020 at 09:24.
Pushed by brauch into branch 'fix-slice-crash'.

fix crash with Extended Slices in Python 3.8

In an expression like A[1:3,5], the dims of the slice are "1:3" and "5".
These are, against our assumptions, not Expressions, they are Slices: "1:3"
is not an Expression (it is not valid outside a slice).

So, we cannot represent this kind of slice with a tuple, it needs a separate
AST node kind.

M  +1    -0    duchain/tests/pyduchaintest.cpp
M  +5    -0    parser/ast.cpp
M  +7    -0    parser/ast.h
M  +5    -0    parser/astdefaultvisitor.cpp
M  +1    -0    parser/astdefaultvisitor.h
M  +1    -0    parser/astvisitor.cpp
M  +1    -0    parser/astvisitor.h
M  +2    -2    parser/generated.h
M  +1    -1    parser/python39.sdef

https://invent.kde.org/kdevelop/kdev-python/commit/7db8f71c9fd9c5c2ffc32638b91ba22916b6f69d

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

Reply via email to