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/2015-February/138559.html below:

[Python-Dev] Request for Pronouncement: PEP 441

[Python-Dev] Request for Pronouncement: PEP 441 - Improving Python ZIP Application SupportJim J. Jewett jimjjewett at gmail.com
Wed Feb 25 17:02:51 CET 2015
On 24 February 2015 at 18:58, Guido van Rossum <guido at python.org> wrote:
> The naming of the functions feels inconsistent -- maybe pack(directory,
> target) -> create_archive(directory, archive), and set_interpreter() ->
> copy_archive(archive, new_archive)?


Paul Moore wrote:
> One possible source of confusion with copy_archive (and its command
> line equivalent "python -m zipapp old.pyz -o new.pyz") is that it
> isn't technically a copy, as it changes the shebang line (if you omit
> the interpreter argument it removes the existing shebang).

Is the difference between create and copy important?  e.g., is there
anything wrong with

create_archive(old_archive, output=new_archive) working as well as
create_archive(directory, archive)?

-jJ

--

If there are still threading problems with my replies, please
email me with details, so that I can try to resolve them.  -jJ
More information about the Python-Dev mailing list

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