Skip to content

Inifinit loop in path_to_dot_name #736

Open

Description

@cedk

It seems that pylsp may receive an empty path (I could not identify the source).
In that case the method path_to_dot_name start an infinite loop of the current working directory contains an __init__.py file.

I think path_to_dot_name should be protected against empty path and return directly an empty string.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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