[Python-ideas] A PEP on introducing variables on 'if' and 'while'
apalala at gmail.com
Sat Jun 9 09:17:37 EDT 2018
> Do you mean the context manager semantics of with statements? As in,
> calling the __enter__ and __exit__ method?
No. Just the scope of the variables introduced, which is different in `with
as` and `except as`.
> Please make sure you are very familiar with PEP 572 before you do, and
> expect to have your PEP compared to it.
My intention would be to make the to proposals orthogonal, if possible, so
both/any can be accepted or rejected in their own timeline.
I'm certain that both can live together.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas