tristanlatr / astuce

AST inference utilities
GNU Lesser General Public License v2.1
1 stars 0 forks source link

Make it work with python 3.6 #3

Open tristanlatr opened 2 years ago

pawamoy commented 2 years ago

Do you need this for pydoctor?

tristanlatr commented 2 years ago

Yes that would be good, but maybe we can increase the required python version of pydoctor to 3.7 also. It depends how much annoyance it will be to handle the AST differences.

tristanlatr commented 2 years ago

One thing we can do to easy this is to transform all Str, Bytes, Num and other deprecated nodes by their Constant counterparts. I’m not sure is there are other notable changes from 3.6.