peterazmanov / enaml

[Python 3.4] Declarative User Interfaces for Python fork (separate branch for Qt5)
Other
5 stars 2 forks source link

parser: support py3k syntax for classes (ast.ClassDef has 3 more arguments: 'keywords', 'starargs', 'kwargs') #11

Open peterazmanov opened 8 years ago

peterazmanov commented 8 years ago

@penenkel mentioned in #1: "ClassDef now requires a keywords argument (and perhaps others) (compare ast 3.4 with ast 2.7)"

peterazmanov commented 8 years ago

quick fix allows old syntax classes d3d545c91732336bb60baba0327908e0fb8fb93e