https://bugs.kde.org/show_bug.cgi?id=419290
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/05e |elop/kdev-python/commit/efa |95cac74b0bb3595a6d97da07a12 |bd9d4b4884f6e715650a0667570 |b907385be5 |09a9647865 --- Comment #4 from Francis Herne <m...@flherne.uk> --- Git commit efabd9d4b4884f6e715650a066757009a9647865 by Francis Herne. Committed on 22/08/2020 at 10:43. Pushed by flherne into branch '5.5-python39'. Initial support for CPython 3.9 This reformats our AST to match that introduced upstream by https://bugs.python.org/issue34822 and adjusts the conversion from older Python versions' AST to match. ExtendedSliceAst is removed, in favour of a TupleAst containing SliceAsts and/or other expressions. IndexAst is removed, instead non-slice index expressions are direct children of SubscriptAst. SliceAst and EllipsisAst are now subclasses of ExpressionAst. In the latter case I don't understand how it wasn't broken before. --- The stdlib docfiles are not updated. There aren't many changes to builtins in 3.9, but we do need a system to re-generate these - perhaps based on Typeshed. In CPython 3.8 and 3.9 there are several changes to the parser that could be useful to us -- particularly end_lineno and end_col_offset. This patch doesn't attempt to take advantage of them. M +2 -2 CMakeLists.txt M +2 -2 duchain/declarationbuilder.cpp M +2 -2 duchain/expressionvisitor.cpp M +2 -17 parser/ast.cpp M +3 -24 parser/ast.h M +0 -10 parser/astdefaultvisitor.cpp M +0 -4 parser/astdefaultvisitor.h M +0 -2 parser/astvisitor.cpp M +0 -2 parser/astvisitor.h M +2 -0 parser/conversionGenerator.py M +22 -5 parser/generated.h R +4 -3 parser/python39.sdef [from: parser/python38.sdef - 096% similarity] https://invent.kde.org/kdevelop/kdev-python/commit/efabd9d4b4884f6e715650a066757009a9647865 -- You are receiving this mail because: You are watching all bug changes.