[Python-Dev] PEP 370 - per-user scripts directory on Windows

Nick Coghlan ncoghlan at gmail.com
Fri Feb 13 08:25:26 CET 2015


On 13 February 2015 at 05:50, Paul Moore <p.f.moore at gmail.com> wrote:
> On 12 February 2015 at 16:42, Steve Dower <Steve.Dower at microsoft.com> wrote:
>> IIRC, there was a PEP for executing ZIP files directly (2.6-era?), which I believe are the purpose of those extensions. If "py.exe spam.pyz" already works, I don't see any need for a PEP to add the association in the installer.
>
> Yes, "py spam.pyz" works fine. +1 on having the associations.
> Actually, I've just remembered, it's already in PEP 441, which hasn't
> been approved but which goes further and includes a stdlib tool to
> create pyz files. I'm not sure if that changes things at all...

Zip archive & directory execution support was added in 2.6 by way of a
tracker issue rather than a full PEP, but we didn't realise we left it
out of the What's New docs until a few years later. That meant a lot
of folks missed the addition of the feature.

PEP 441 was aimed at giving the feature more visibility, in addition
to making appropriately designed archives easier to create (IIRC, my
main request for that PEP was to change the proposed module name to
the more prosaic, but also more self-explanatory, "pyzapp", although
it looks like I may have suggested that to Daniel offline rather than
through the mailing list).

Regardless, the PEP's not controversial as far as I am aware, so it
would be nice if someone had the time to get it cleaned up and
formally proposed for 3.5 (assuming Daniel was OK with that).

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia


More information about the Python-Dev mailing list