opshin icon indicating copy to clipboard operation
opshin copied to clipboard

Add compatability for python3.7

Open nielstron opened this issue 2 years ago • 4 comments

This is currently prohibited by a slightly different setup of the python ast module

nielstron avatar Jan 11 '23 00:01 nielstron

Would Python 3.7 support be possible as well?

Et9797 avatar Jan 30 '23 05:01 Et9797

Yes that should be possible too. I will run some automated tests on python3.7.

nielstron avatar Jan 30 '23 08:01 nielstron

It appears there are small differences in the python AST modules between different python version. Will investigate how big the changes are and if there is maybe a unifying framework (like parso)

nielstron avatar Jan 30 '23 09:01 nielstron

Python3.7 support will likely not come anytime soon because it appears that type hints were only introduced in python3.8

nielstron avatar Apr 04 '23 12:04 nielstron