[Python-Dev] 'With' context documentation draft (was Re: Terminology for PEP 343 (original) (raw)

Guido van Rossum gvanrossum at gmail.com
Thu Jul 7 20:00:58 CEST 2005


> +1 on @contextmanager

+1.

[enter, exit]

>> These names should be changed to beginwith and endwith.

-1. The PEP has had an extensive review period and several alternatives were discussed and rejected. These names are clear, they do match, and as Fred says the * namespace has lots of room.

Also, the PEP was accepted with these names. Now, if it was accepted with a major flaw or some semantics left unspecified, I'd be happy to discuss repairs; but there's nothing broken about this part of the PEP, so I say enough is enough (and none of the proposals sound good to me anyway so I'd be -1 even if the PEP was still under discussion).

-- --Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list