[Python-Dev] Merging PEP 310 and PEP 340-redux?
Ka-Ping Yee
python-dev at zesty.ca
Sat May 14 03:29:02 CEST 2005
On Fri, 13 May 2005, Guido van Rossum wrote:
> Straight up-or-down votes in the full senate are appreciated at this point.
I prefer the "PEP 340 redux" version. Both the flexibility for __enter__
to return a separate object and the ability for __exit__ to react to
exceptions are useful.
> - Today I like the 'do' keyword better; 'with' might confuse folks
> coming from Pascal or VB
I prefer 'with'. The 'do' keyword sounds "loopy" and doesn't make
grammatical sense.
-- ?!ng
More information about the Python-Dev
mailing list