Closed timokau closed 4 years ago
I tried to use the tensorflow update script on a codebase that uses abstract classes with ABCMeta. Parsing failed with
ABCMeta
AnnotationError: Expected ':' but found 'metaclass'
Minimal example:
pasta.parse('class A(metaclass=X): pass')
This is some missing support for python3 syntax-- I'll add it. Thanks for the report and example!
Fixed at HEAD, I'll create a new version soon. Thanks again!
Wow, that was fast. Thank you!
I tried to use the tensorflow update script on a codebase that uses abstract classes with
ABCMeta
. Parsing failed withMinimal example: