[Python-Dev] Request for Pronouncement: PEP 441 - Improving Python ZIP Application Support

Serhiy Storchaka storchaka at gmail.com
Mon Feb 23 22:18:07 CET 2015


On 23.02.15 22:51, Paul Moore wrote:
> BTW, while I was looking at the API, I realised I don't like the order
> of arguments in pack(). I'm tempted to make it pack(directory,
> target=None, interpreter=None, main=None) where a target of None means
> "use the name of the source directory with .pyz tacked on", exactly as
> for the command line API.

If the order of arguments is not obvious, make them keyword-only.




More information about the Python-Dev mailing list