You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>>> baron.parse('for a, *b in rs:\n print(b)\n')
Traceback (most recent call last):
...
baron.parser.ParsingError: Error, got an unexpected token STAR here:
1 for a, *<---- here
I've tested this syntax and found it is valid in comprehensions...
Baron only supports PEP-3132 extended unpacking in assignment context, ie. it can parse
a, *b = xs
etcThis syntax also valid in various other contexts. For example, for-loop context:
but I get an error in baron==0.9
I've tested this syntax and found it is valid in comprehensions...
...in with-blocks...
...and is also available recursively...
...all of which are currently unsupported by baron.
The text was updated successfully, but these errors were encountered: