[Zope3-dev] Zip import and sys.path manipulation (was Re: directory hierarchy proposal)
Jim Fulton
jim@zope.com
Mon, 16 Dec 2002 12:59:31 -0500
Phillip J. Eby wrote:
> (Summary: good plan for name and place, issues exist w/sketched
> implementation)
>
> At 10:47 AM 12/16/02 -0500, Guido van Rossum wrote:
>
>> Time's running short (we're close to releasing Python 2.3 alpha 1);
>> we should decide on a name and a specific policy ASAP. I propose the
>> following:
>>
>> from pkgutil import extended_path
>> __path__ = extended_path(__path__, __name__)
>
>
> How would that work for say, 'zope.app'?
Since zope.app isn't a namespace package, it doesn't need to.
But I suppose that the question stands for zodb.storages. :)
Jim
--
Jim Fulton mailto:jim@zope.com Python Powered!
CTO (888) 344-4332 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org