Skip to content

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

Open
@aminland

Description

@aminland

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions