[Python-Dev] [Python-checkins] peps: Added examples.

Nick Coghlan ncoghlan at gmail.com
Thu May 24 22:13:33 CEST 2012


On May 24, 2012 11:29 PM, "Eric V. Smith" <eric at trueblade.com> 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__ attributes directly seems like a good
way to accidentally break the auto-updating. We probably don't want to
encourage that.

Cheers,
Nick.

--
Sent from my phone, thus the relative brevity :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20120525/17f680a9/attachment.html>


More information about the Python-Dev mailing list