[Import-SIG] PEP 420: Implicit Namespace Packages
Eric Snow
ericsnowcurrently at gmail.com
Sat Apr 21 20:49:16 CEST 2012
On Sat, Apr 21, 2012 at 11:06 AM, PJ Eby <pje at telecommunity.com> wrote:
> Btw, was there ever an explicit rejection of the "namespace package __path__
> is an auto-updating iterable instead of a list" approach, or did it even
> come up in the consensus discussion?
Pretty sure it didn't come up, but it sounds like Eric Smith has
considered it. PEP 420 currently has this to say:
"There is no mechanism to automatically recompute the __path__ if
sys.path is altered after a namespace package has already been
created. However, existing namespace utilities (like
pkgutil.extend_path) can be used to update them explicitly if
desired." [1]
-eric
[1] http://www.python.org/dev/peps/pep-0420/#id9
More information about the Import-SIG
mailing list