PyCQA / baron

IDE allow you to refactor code, Baron allows you to write refactoring code.
http://baron.pycqa.org
GNU Lesser General Public License v3.0
289 stars 50 forks source link

Parser crash when using metaclasses #152

Open michaelpradel opened 5 years ago

michaelpradel commented 5 years ago

The following minimal example crashes the baron parser: RedBaron("class A(B, metaclass=C):\n pass")

A more realistic example would set metaclass=ABCMeta. I'm using baron 0.9 and redbaron 0.9.2. Any help is highly appreciated.