Re: [Python-Dev] Zipping the standard library.

2012-03-10 Thread PJ Eby
On Sat, Mar 10, 2012 at 5:49 PM, Thomas Wouters 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 t

Re: [Python-Dev] Zipping the standard library.

2012-03-10 Thread Antoine Pitrou
On Sat, 10 Mar 2012 14:49:24 -0800 Thomas Wouters wrote: > Also, depending on what else you > want to put in the zipfile, you may have to be aware of zipimports limited > implementation of zipfiles that involve various 32k-filecount and > 2Gb-filesize limits. (And in case you're wondering, yes, we

[Python-Dev] Zipping the standard library.

2012-03-10 Thread Thomas Wouters
Since Python 2.3 (with the introduction of the zipimport module) it's been sort-of possible to zip up the standard library. Modules/getpath.c:calculate_path even adds a specific location ($prefix/lib/python33.zip) to sys.path if it exists to facilitate that. Or you can include the zipfile alongside

Re: [Python-Dev] [Python-checkins] peps: PEP 416: remove mentions of mutable/immutable

2012-03-10 Thread Terry Reedy
On 3/10/2012 5:43 AM, victor.stinner wrote: http://hg.python.org/peps/rev/7278026a5db9 changeset: 4124:7278026a5db9 user:Victor Stinner date:Sat Mar 10 11:43:45 2012 +0100 summary: PEP 416: remove mentions of mutable/immutable files: pep-0416.txt | 5 ++--- 1 files c

Re: [Python-Dev] [Python-checkins] cpython: Close #14205: dict lookup raises a RuntimeError if the dict is modified during

2012-03-10 Thread Nick Coghlan
On Sat, Mar 10, 2012 at 8:27 AM, Victor Stinner wrote: > I ran all these tests, none is still crashing. I don't think that it is > interesting to keep them. Indeed, please add them all back as regular parts of the test suite - this ensures that not only are they fixed now, but they never break ag

Re: [Python-Dev] PEP 416: Add a frozendict builtin type

2012-03-10 Thread Victor Stinner
Le 01/03/2012 14:49, Paul Moore a écrit : Just avoid using the term "immutable" at all: You right, I removed mention of mutable/immutable from the PEP. Victor ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinf