[Python-Dev] Inconsistent behaviour in import/zipimport hooks
p.f.moore at gmail.com
Wed Nov 9 23:56:13 CET 2005
On 11/9/05, Bob Ippolito <bob at redivi.com> wrote:
> On Nov 9, 2005, at 1:48 PM, Thomas Heller wrote:
> > Bob Ippolito <bob at redivi.com> writes:
> >> On Nov 9, 2005, at 1:22 PM, Bill Janssen wrote:
> >>> It's a shame that
> >>> 1) there's no equivalent of "java -jar", i.e., "python -z
> >>> FILE.ZIP", and
> >> This should work on a few platforms:
> >> env PYTHONPATH=FILE.zip python -m some_module_in_the_zip
> > It should, yes - but it doesn't: -m doesn't work with zipimport.
> That's dumb, someone should fix that. Is there a bug filed?
I did, a while ago. http://www.python.org/sf/1250389
More information about the Python-Dev