[Python-Dev] zipfiles on sys.path
Gordon McMillan
gmcm@hypernet.com
Mon, 30 Jul 2001 18:40:21 -0400
Finn Bock wrote:
[mac puts package name in __path__ when importing from
elsewhere]
> Dynamic changes to __path__ is probably not needed for frozen
> packages.
>
> It may not even be needed for imports from zipfile. My first
> attempt of adding this feature did not support changes to
> __path__.
I know of at least one package that requires an extensible
__path__, even when frozen. It's a Mark Hammond Special, so
you needn't worry about that one, but it's my observation that
package authors are enamored of import hacks, so be wary.
- Gordon