[Python-Dev] PEP 343 update (with statement context terminology) (original) (raw)

Aahz aahz at pythoncraft.com
Mon Apr 24 21:24:16 CEST 2006


On Mon, Apr 24, 2006, Phillip J. Eby wrote:

At 04:48 AM 4/25/2006 +1000, Nick Coghlan wrote:

Using two names to describe three different things isn't intuitive for anybody. Um, what three things? I only count two: 1. Objects with context 2. Objects with enter and exit What's the third thing?

The actual context that's used during the execution of BLOCK. It does not exist as a concrete object, but we must be able to refer to it in documentation. I called it a "namespace" in my docs, which I now realize is incorrect, but it's not entirely clear to me how to describe it. Perhaps "wrapper" will do.

Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/

"Argue for your limitations, and sure enough they're yours." --Richard Bach



More information about the Python-Dev mailing list