srusskih / SublimeJEDI

awesome Python autocompletion with SublimeText
MIT License
938 stars 109 forks source link

Handle python 3.10 #332

Closed hadisfr closed 2 years ago

hadisfr commented 2 years ago

This merge request adds support for python 3.10.

Upgrading to the newer versions of parso dependency is not possible because the latest version of sublime text uses python 3.8.8 and does not recognize the syntax of some parts of the codes, such as:

    node_map: Dict[str, Type[tree.BaseNode]] = {}

https://github.com/davidhalter/parso/blob/8ee84d005e048669fa12d51f764e5becb8bf500d/parso/parser.py#L113

srusskih commented 2 years ago

Thank you @hadisfr for the PR.