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
So this is already supported by the native parser (currently enabled by setting the LIBCST_PARSER_TYPE env var to native), but validation rules on the CST nodes disallow it. Needs a PR to relax the validation rules before this issue can be closed out
Following PEP-614, the follow code is valid in Python 3.9 and later:
but
libcst.parse_module()
raisesThis syntax isn't in common use yet, but
shed
depends on LibCST for--refactor
mode and I'd love to support it 😃The text was updated successfully, but these errors were encountered: