Re: [Python-Dev] Making directories and zip files executable

2007-09-12 Thread Guido van Rossum
On 9/12/07, Nick Coghlan <[EMAIL PROTECTED]> wrote: > Guido van Rossum wrote: > > I could use a refresher on how PJE's patch solves Andy's problem. > > I'm not sure if you're asking about how you would execute a zip file > after the patch has been applied, or about the mechanics of how the > patch

Re: [Python-Dev] Making directories and zip files executable

2007-09-12 Thread Nick Coghlan
Guido van Rossum wrote: > I could use a refresher on how PJE's patch solves Andy's problem. I'm not sure if you're asking about how you would execute a zip file after the patch has been applied, or about the mechanics of how the patch works. PJE's last post covered the former question, so I'll c

Re: [Python-Dev] Making directories and zip files executable

2007-09-11 Thread Phillip J. Eby
At 10:48 AM 9/11/2007 -0700, Guido van Rossum wrote: >I could use a refresher on how PJE's patch solves Andy's problem. It does the same thing, but with __main__ instead of __zipmain__, and without needing the -z. So instead of "python -z foo.zip" you can just do "python foo.zip". This means y

Re: [Python-Dev] Making directories and zip files executable

2007-09-11 Thread Guido van Rossum
I could use a refresher on how PJE's patch solves Andy's problem. On 9/11/07, Nick Coghlan <[EMAIL PROTECTED]> wrote: > The local patch I have for PEP 366 is somewhat stale, and before I bring > it up to date with SVN head, I'd like to close out the issue raised a > while back regarding making zip

[Python-Dev] Making directories and zip files executable

2007-09-11 Thread Nick Coghlan
The local patch I have for PEP 366 is somewhat stale, and before I bring it up to date with SVN head, I'd like to close out the issue raised a while back regarding making zip files executable [1]. The original proposal was for a new command line switch, but PJE came up with a patch (attached to