Bug 358770

Summary: no declarations created for arguments after *
Product: [Developer tools] kdev-python Reporter: Sven Brauch <mail>
Component: Language supportAssignee: Sven Brauch <mail>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: 1.7.3   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Sven Brauch 2016-01-30 14:06:44 UTC
Example code:
def __init__(self, name: str, paths: CheriPaths, *, sourceDir="", buildDir="", installDir: Path=None, gitUrl=""): pass
Comment 1 Sven Brauch 2016-01-31 00:32:27 UTC
Git commit 136d25ec61221a43e53978323e879ccb1b15f66b by Sven Brauch.
Committed on 31/01/2016 at 00:32.
Pushed by brauch into branch '5.0'.

Python 3.5: Implement kwonlyargs

Example syntax: def func(x, y, *kw, a, b): return a
Type inference is not supported yet.

M  +1    -1    duchain/declarationbuilder.cpp
M  +1    -0    duchain/tests/pyduchaintest.cpp
M  +1    -0    parser/ast.h
M  +411  -408  parser/generated.h
M  +1    -1    parser/python35.sdef

http://commits.kde.org/kdev-python/136d25ec61221a43e53978323e879ccb1b15f66b