[Python-Dev] Add a -z interpreter flag to execute a zip file
Paul Moore
p.f.moore at gmail.com
Mon Jul 23 23:57:34 CEST 2007
On 23/07/07, Phillip J. Eby <pje at telecommunity.com> wrote:
> Actually, it isn't, because you can't start a zipfile with a Python
> script. Lord knows I've *tried*, but the Python interpreter just
> won't accept arbitrary binary data as part of a script. :)
That bit me a while back, hard enough that I thought of putting
together a patch for it (probably just to stop processing the script
at a NUL byte), but never did as I didn't think I could put a
convincing enough case for it being *useful*.
Anyway, I'd be happy enough with the -z patch as it stands, or if
someone comes up with something better, that would suit me too...
Paul.
More information about the Python-Dev
mailing list