[Python-Dev] Zipping the standard library. (original) (raw)
Thomas Wouters thomas at python.org
Sun Mar 11 20:26:05 CET 2012
- Previous message: [Python-Dev] Zipping the standard library.
- Next message: [Python-Dev] Zipping the standard library.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, Mar 10, 2012 at 22:16, PJ Eby <pje at telecommunity.com> wrote:
On Sat, Mar 10, 2012 at 5:49 PM, Thomas Wouters <thomas at python.org> wrote:
(And, yes, I'm zipping up the stdlib for Python 2.7 at Google, to reduce the impact on the aforementioned million of machines :)
You might want to consider instead backporting the importlib caching facility, since it provides some of the zipimport benefits for plain old, non-zipped modules. Actually, a caching-only import hook that operated that way wouldn't even need the whole of importlib, just a wrapper over the standard C import that skips the unnecessary filesystem accesses.
Thanks for the suggestions (Antoine too), but that's not really the topic I want to discuss here (but if you guys move to Google I'll happily discuss all the stuff we have to deal with.) The questions is really whether Python wants to actually support zipped stdlibs or not.
-- Thomas Wouters <thomas at python.org>
Hi! I'm a .signature virus! copy me into your .signature file to help me spread! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20120311/c68feaef/attachment.html>
- Previous message: [Python-Dev] Zipping the standard library.
- Next message: [Python-Dev] Zipping the standard library.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]