[Python-Dev] cpython: Introduce importlib.util.ModuleManager which is a context manager to (original) (raw)

R. David Murray rdmurray at bitdance.com
Wed May 29 20:43:12 CEST 2013


On Wed, 29 May 2013 20:10:44 +0200, Antoine Pitrou <solipsis at pitrou.net> wrote:

On Wed, 29 May 2013 12:55:01 -0400 Brett Cannon <brett at python.org> wrote: > > Perhaps 'managedmodule'? > > managedmodule is better than managedinitialization.

I don't understand how it's "managed". "manage", "manager", etc. is the kind of dumb words everybody uses when they don't manage (!) to explain what they're talking about. My vote is for "moduletoinit", "uninitializedmodule", "pristinemodule", etc.

I don't really have a horse in this race (that is, whatever is chosen, my vote will be 0 on it unless someone comes up with something brilliant :), but I'll just point out that those names do not give any clue as to why the thing is a context manager instead of a function that just returns the uninitialized module.

--David



More information about the Python-Dev mailing list