[Python-ideas] A couple of with statement ideas

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Feb 27 21:41:20 CET 2011


Nick Coghlan wrote:

> The iterator/iterable precedent suggests manager->manageable as a
> possibility, but "manageable objects" isn't easy to write *or* to say.
> "Managed objects" could work, though (despite being slightly less
> technically correct).

Urk. Maybe eliminating the word "context" is the wrong thing to
do, because "managed object" sounds far too vague -- it's far
from clear *how* it's being managed. Also highly likely to be
confused somehow with "managed code" in the .NET world (which
is a confusingly vague term in itself).

My current thought is "context manager provider", long-winded
though it is.

-- 
Greg




More information about the Python-ideas mailing list