[Python-Dev] Why are contexts also managers? (wasr45544-peps/trunk/pep-0343.txt) (original) (raw)

Terry Reedy tjreedy at udel.edu
Sun Apr 23 20:17:01 CEST 2006


"Just van Rossum" <just at letterror.com> wrote in message news:r01050400-1039-732D0EC9D2CB11DAABF6001124365170@[10.0.0.24]...

+1 for context maker. Or maybe "context factory"?

Yes, I thought of that too. Latin 'facere' == 'to make'. I might even put a sentence in the doc explaining that a context maker is a context factory, in the CS sense of the term, just as generator functions are generator factories.

Terry Jan Reedy



More information about the Python-Dev mailing list