A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-December/030827.html below:

[Python-Dev] New and Improved Import Hooks

[Python-Dev] New and Improved Import Hooks [Python-Dev] New and Improved Import HooksMartin v. Löwis Martin v. Löwis
Thu, 5 Dec 2002 21:01:25 +0100
>> Why not "copy" importing_modules_from_dlls(pyds) mechanism?
>>What do you mean by that? What is "importing_modules_from_dlls"?

>Should be "importing_module_from_dlls".

I still don't understand. Is that some feature of Python?

>>If you mean "one .pyd file is one Python module", then this approach
>>won't work for .zip files:People want many .py modules in a single
.zip
>>file.

>It will work if handled by the zip importer.

How will the zip importer know what zipfile to read?

If I have "python23.zip", and do

import httplib

what mechanism will extract httplib.py from python23.zip?

> from MyArchive_with_many_modules import MyModule

So you could only zip entire packages? This is insufficient.

Regards,
Martin




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4