[Python-3000] Should package __init__ files include pkgutil.extend_path?

Brett Cannon brett at python.org
Sun Sep 7 21:58:15 CEST 2008


On Sat, Sep 6, 2008 at 7:33 PM, Nick Coghlan <ncoghlan at gmail.com> wrote:
[SNIP]
> So the standard library packages would be self-contained by default, but
> an application could explicitly request that the extensible packages be
> expanded to incorporate other directories.
>

I was thinking about this the other day and realized there is a risk
of people make incorrect associations of third-party code as part of
the stdlib. It also could lead to future name clashes with modules if
we were ever to add a module with the same name as one injected by a
third-party.

-Brett


More information about the Python-3000 mailing list