> > It's already possible - just write another importer. For the builtin > zipimport, this is not an option, since it seeds itself from the sys.path > entry, which will be a file name. See PEP 302. > > Regards, > Martin > >
Maybe it can be seeded by both a string path *or* a file object, the same way zipfile.ZipFile does. This way I'll be able to somehow override or re-initialize zipimport with my own StringIO - Shy _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com