(original) (raw)

On Wed, May 23, 2012 at 3:02 PM, Brett Cannon <brett@python.org> wrote:
If I understand the proposal correctly, this would be a change in NamespaceLoader in how it sets \_\_path\_\_ and in no way affect any other code since \_\_import\_\_() just grabs the object on \_\_path\_\_ and passes as an argument to the meta path finders which just iterate over the object, so I have no objections to it.

That's not \*quite\* the proposal (but almost).� The change would also mean that \_\_import\_\_() instead passes a ModulePath (aka Nick's LazyIterable) instance to the meta path finders, which just iterate over it.� But other than that, yes.