[Python-Dev] New and Improved Import Hooks
Wiktor Sadowski
Wiktor Sadowski" <art@wiktorsadowski.com
Wed, 4 Dec 2002 17:15:15 +0100
This is a multi-part message in MIME format.
------=_NextPart_000_04B1_01C29BB8.B665AE40
Content-Type: text/plain;
charset="windows-1250"
Content-Transfer-Encoding: quoted-printable
I think we shouldn't use sys.path for zip archives.
Why not "copy" importing_modules_from_dlls(pyds) mechanism?
Then an archive.zip would be imported if found in ARCHIVES directory
or explicitly imported from __init__.py (obviously:archive.zip should =
be in the same directory)
Wiktor Sadowski
art@wiktorsadowski.com
------=_NextPart_000_04B1_01C29BB8.B665AE40
Content-Type: text/html;
charset="windows-1250"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1250">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>I think we shouldn't use sys.path for zip archives.</DIV>
<DIV>Why not "copy" importing_modules_from_dlls(pyds) mechanism?</DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV>Then an archive.zip would be imported if =
found in=20
ARCHIVES directory</DIV>
<DIV>or explicitly imported from __init__.py =
(obviously:archive.zip=20
should be in the same directory)</DIV>
<DIV> </DIV>
<DIV>Wiktor Sadowski</DIV>
<DIV><A =
href=3D"mailto:art@wiktorsadowski.com">art@wiktorsadowski.com</A></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_04B1_01C29BB8.B665AE40--