grumpyhome / grumpy

Grumpy is a Python to Go source code transcompiler and runtime.
Apache License 2.0
420 stars 18 forks source link

Add token lib #155

Closed nagayev closed 3 years ago

nagayev commented 3 years ago

Imported from Cpython.

nagayev commented 3 years ago

@rezaghanbari The build was unsuccessful, but maybe it's not my fault (there is no error in my file).

alanjds commented 3 years ago

yeah... from the CI log on https://travis-ci.org/github/grumpyhome/grumpy/jobs/739947996#L887-L899 looks like isort is trying to install some the Python 3.5+ code.

And Grumpy unfortunately still runs on Python 2.7 :shrug:

nagayev commented 3 years ago

@alanjds So what do you want to do? You can merge my PR and then try to fix the issue about Python 3.5.

alanjds commented 3 years ago

Yeah... I do not think that merging your PR can make anything break. Yet do not know where it helps.

Will merge it and hope for someone to have time to push forward the Python 2.7 -> 3.X migration described on https://github.com/grumpyhome/grumpy/issues/135