pylint #107788 Pylint confused by PEP 3102 Keyword-only arguments [done]
pylint complains about an undefined name and unexpected keyword argument, when using keyword-only arguments in CPython 3..
pylint does not currently understand PEP 3102 / Keyword-only arguments (KWOA)? http://www.python.org/dev/peps/pep-3102/
Specifically, this minimal code snippet confuses pylint 0.26.0 combined with astng 0.24.1 and common 0.58.2, even though CPython 3.x run it fine:
The "*" in function's argument list is saying "All the rest of my arguments are keyword-only", so function(1) would not be valid Python; it must be function(foo=1). If there were arguments to the left of the naked *, they would not have to be keyword-only.
The errors (mis-)reported by pylint are:
|done in||<not specified>|
|closed by||#4143143fcdfb Check py3k keyword-only arguments|