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

Francis Herne <m...@flherne.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/kdev |https://invent.kde.org/kdev
                   |elop/kdev-python/commit/44b |elop/kdev-python/commit/172
                   |8992325bbcbfa350b163bf0176a |dc5138acf94d54215d630c2173d
                   |ad2c9d47da                  |7f24ec97df

--- Comment #12 from Francis Herne <m...@flherne.uk> ---
Git commit 172dc5138acf94d54215d630c2173d7f24ec97df by Francis Herne.
Committed on 20/09/2020 at 13:42.
Pushed by flherne into branch '5.6'.

Fix ExtSlice crash with Python <= 3.8
FIXED-IN: 5.6.1

The dimensions of an ExtSlice node are _slice nodes rather than _expr,
 so this would crash whenever encountering one.

 --

This was introduced in commit 05e95cac7 "Initial support for CPython 3.9".

When I replaced `SliceAst` with `ExpressionAst` in the relevant line
 of python39.sdef, conversionGenerator.py *also* changed `_slice` to `_expr`
here
 (because the type used is implicitly determined in a stupid way)
 and I failed to notice that difference in the newly-generated code.

I couldn't see an easy way to fix the implicit type thing, so this commit just
 bypasses that mechanism and uses CODE instead.

M  +1    -0    duchain/tests/pyduchaintest.cpp
M  +1    -1    parser/generated.h
M  +2    -1    parser/python39.sdef

https://invent.kde.org/kdevelop/kdev-python/commit/172dc5138acf94d54215d630c2173d7f24ec97df

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

Reply via email to