Author steve.dower
Recipients Arfrever, georg.brandl, gregory.p.smith, larry, paul.moore, steve.dower
Date 2014-02-14.17:19:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392398354.72.0.992098406583.issue20621@psf.upfronthosting.co.za>
In-reply-to
Content
Oddly enough, this works with 3.3.4 as released:

>>> import sys, zipfile
>>> with zipfile.ZipFile('test.zip', 'w') as f:
...   f.writestr('test/__init__.py', b'print("Success!")')
...
>>> sys.path[:] = ['test.zip']
>>> import test
Success!

Maybe wheel is creating archives with settings that zipimport doesn't like? (Unless you invoke load_module directly...)
History
Date User Action Args
2014-02-14 17:19:14steve.dowersetrecipients: + steve.dower, georg.brandl, gregory.p.smith, paul.moore, larry, Arfrever
2014-02-14 17:19:14steve.dowersetmessageid: <1392398354.72.0.992098406583.issue20621@psf.upfronthosting.co.za>
2014-02-14 17:19:14steve.dowerlinkissue20621 messages
2014-02-14 17:19:14steve.dowercreate