john-science / slowloris

A DIY-LISP.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upgrade to Python 3

john-science opened this issue · comments

Death to Python 2, long live Python 3! Etcetera.

Really, the language should support Python 3.3 and newer.

Bump. This should be done soon. Python 2.7 is really out of date.

I just tried a naive version bump and it died hard.

The major issue being that the Python standard library ast has changed a TON between Python 2 and 3. In particular, the new version of ast no longer has functions like: is_boolean or is_list.

How does Python handle the AST without these now? What's the new approach? Or can we just re-implement those functions ourself?

Hi again ! I have tried to run the tests on virtualenv with python3.5 !
I have got some errors and I think it is problem of paths and importation of modules ?

That seems possible. I originally wrote this for Python 2.6, not 3.x.

What are the errors? Or I can try to run them myself.