[Python-Dev] PEP 4XX: pyzaa "Improving Python ZIP Application Support"

Nick Coghlan ncoghlan at gmail.com
Fri May 3 12:45:03 CEST 2013


On 3 May 2013 20:40, "Paul Moore" <p.f.moore at gmail.com> wrote:
>
> On 2 April 2013 01:47, Daniel Holth <dholth at gmail.com> wrote:
>>
>> This PEP proposes to fix these problems by re-publicising the feature,
>> defining the .pyz and .pyzw extensions as “Python ZIP Applications”
>> and “Windowed Python ZIP Applications”, and providing some simple
>> tooling to manage the format.
>
>
> There is a bug in Windows Powershell, which is apparently due to a bug in
the underlying FindExecutable API, that can fail to recognise extensions
which are longer than 3 characters properly.
>
> Rather than risk obscure bugs, I would suggest restricting the extensions
to 3 characters. For the “Windowed Python ZIP Applications” case, could we
use .pzw as the extension instead of .pyzw?
>
> Please don't shoot the messenger here - I'm not going to try to defend
such a stupid Windows bug, but better to be safe in my view. Flames about
Windows to /dev/null...

I'm OK with the shortened extension.

Cheers,
Nick.

>
> Paul.
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
http://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130503/5e0d8c92/attachment.html>


More information about the Python-Dev mailing list