CodeIntel icon indicating copy to clipboard operation
CodeIntel copied to clipboard

Python 3 : bare * in function arguments causes syntax error.

Open aminland opened this issue 7 years ago • 0 comments

The new python3 construct to ensure force people to use keyword arguments without having to specify defaults is to put a bare asterisk.

Right now, if any of the files in our import chain use that syntax, it seems to break codeintel altogether.

See this stack overflow link for the exact syntax: https://stackoverflow.com/questions/2965271/forced-naming-of-parameters-in-python/14298976#14298976

I think it would be safe to just search for and drop the bare * in function definitions for codeintel's purposes.

aminland avatar Jul 10 '18 22:07 aminland