All the bindings are not represented as Name[Store] in the ast (But by MatchAs node etc), so beniget needs special handling for these. It’s more or less the same situation as the except handler not having a store name for the exception. But it this case gast transforms it to actually have a Store name…
All the bindings are not represented as Name[Store] in the ast (But by MatchAs node etc), so beniget needs special handling for these. It’s more or less the same situation as the except handler not having a store name for the exception. But it this case gast transforms it to actually have a Store name…
see for the specs: https://peps.python.org/pep-0622/