On May 24, 2012 11:29 PM, "Eric V. Smith" wrote:
>
> Possibly I am being too tricky here by modifying parent.__path__, and I
> should just modify sys.path again, as you suggest. But I was trying to
> show that modifying parent.__path__ will also work.
Modifying namespace package __path__ attribut
On Thu, May 24, 2012 at 8:10 PM, eric.smith wrote:
> + Lib/test/namspace_pkgs
Typo: s/namspace/namespace/
> +Here we add the parent directories to ``sys.path``, and show that the
> +portions are correctly found::
> +
> + >>> import sys
> + >>> sys.path += ['Lib/test/namespace_pkgs/parent