Missing syntax for context manager expressions
Closed this issue · 4 comments
jmwielandt commented
Summary
New syntax from 3.10 with (... as x, ... as y):
of context managers is not supported. Checkout mtshiba/pylyzer#30.
Expected
Add it :c
Actual
Python Documentation
Issue: https://bugs.python.org/issue12782
Release notes: https://www.python.org/downloads/release/python-3100/
fanninpm commented
@charliermarsh are you also seeing this in Ruff?
charliermarsh commented
RustPython supports this, I just tested via Ruff. Is Pylzer on an old version?
jmwielandt commented
charliermarsh commented
All good, glad it's resolved :)