Skip to content

Python2 support #737

@mpanarin

Description

@mpanarin

Python2 reached its EOL. Will pyls continue to support it?

Jedi already dropped support for python2 in its latest release. Also added a bunch of sweet improvements like:

  • Tensorflow, Numpy and Pandas completions should now be about 4-10x faster
  • Dict key completions are working now. e.g. d = {1000: 3}; d[10 will expand to 1000

pretty sure spyder community will benefit from this changes a lot.
On the other hand we have rope as a dependency that supports python3 only partly. But using it for completion is inferior to Jedi, imo. And renaming with it is super unstable with a big project, so I disabled rope completely. Maybe it is worth investing into making refactoring with jedi possible?
So rope could be dropped as a dependency

@ccordoba12 @gatesn

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions