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/030847.html below:

[Python-Dev] Another approach for the import mechanism

[Python-Dev] Another approach for the import mechanism [Python-Dev] Another approach for the import mechanismSamuele Pedroni pedronis@bluewin.ch
Thu, 5 Dec 2002 23:45:47 +0100
> - Allows one to have zip packages inside other packages.

you can achieve this with __path__

>
> - Avoids including zip files in the path.

I want to support that.

>
> - Allows me to ship a package inside a zip file, without asking
>   the user to change his path.
>
> - Allows me to compress a single file (foobar.py.bz2).
>

Java has support for zipfiles from day one, from my user experience they are
both YAGNI.

sys.path content from my point of view is really a deployment time issue.

The 2nd point is not directly addressed by your proposal, and supporting it
would make for more complicated importer impls.

regards.




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