Thanks. I think I can live with that restriction. :-) I do not read/write
to the same zip file in the same process.

Anthony


On Mon, May 5, 2014 at 4:10 PM, Gregory P. Smith <g...@krypto.org> wrote:

>
> On Mon, May 5, 2014 at 2:52 PM, Anthony Tuininga <
> anthony.tuini...@gmail.com> wrote:
>
>> On Mon, May 5, 2014 at 3:50 PM, Paul Moore <p.f.mo...@gmail.com> wrote:
>>
>>> On 5 May 2014 22:32, Anthony Tuininga <anthony.tuini...@gmail.com>
>>> wrote:
>>> > So my question is: can I safely make use of this "feature"? It has
>>> remained
>>> > in place since at least Python 2.6 but I don't want to assume anything.
>>> > Please advise! Thanks.
>>>
>>> I believe this is a 100% supported feature of Python (since 2.6, as
>>> you mention). Some of the zip import/run features have unfortunately
>>> been underdocumented, and I suspect that this is simply one of those.
>>>
>>> Paul
>>>
>>
>> That's great news. Thanks!
>>
>> Anthony
>>
>
> There is at least one caveat to using a .zip file for the standard
> library: http://bugs.python.org/issue19081
>
> Never change the .zip file in use by a running process.
>
> -gps
>
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to