Re: [Python-Dev] [Python-checkins] peps: Added examples.
25 May
2012
25 May
'12
1:43 a.m.
On May 24, 2012 11:29 PM, "Eric V. Smith"
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 :)
4353
Age (days ago)
4353
Last active (days ago)
0 comments
1 participants
participants (1)
-
Nick Coghlan