[Python-Dev] Zipping Zope3
Just van Rossum
just@letterror.com
Thu, 19 Dec 2002 10:34:35 +0100
Moore, Paul wrote:
> Just to clarify this point: you can subclass the existing
> zipimport.zipimporter class and add any extra methods you want.
> Then, by replacing zipimporter in sys.path_hooks with your
> subclass, you transparently get your extra functionality.
It think would be better (for now) to just use the zipimporter object as
is, and write a helper function. Subclassing should be possible, but
might give you bootstrapping problems.
Just