(original) (raw)

On 2 April 2013 01:47, Daniel Holth <dholth@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...

Paul.