13 Oct
2019
13 Oct
'19
1:09 p.m.
Ah. Now I get the key point you were making about scope — that the `as <something>` variable is in the surrounding scope following the execution of the `with` block. You're right. That really does already do pretty close to what I am asking for. It's just a hair short in that it requires an additional line to get the result out of the builder, but that's not enough of a big deal to make significant changes to the capabilities of context managers.