[Python-ideas] Add a .pop() method to ZipFile

Yuval Greenfield ubershmekel at gmail.com
Sat May 11 15:19:24 CEST 2013


http://bugs.python.org/issue6818

http://bugs.python.org/review/6818/show

I'm not sure what ended up with that actually...


Yuval





On Sat, May 11, 2013 at 3:50 AM, Greg Ewing <greg.ewing at canterbury.ac.nz>wrote:

> Serhiy Storchaka wrote:
>
>> Indeed. infolist() may return a copy or non-modifiable proxy, NameToInfo
>> and fp are private attributes. ZipFile may save in private attribute an
>> offset of central directory.
>>
>
> Seems to me it would be better to provide ZipFile with a
> general remove() operation that does the right thing, with
> optimisation for the case where the file happens to be
> at the end.
>
> --
> Greg
>
> ______________________________**_________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/**mailman/listinfo/python-ideas<http://mail.python.org/mailman/listinfo/python-ideas>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130511/77a04b10/attachment.html>


More information about the Python-ideas mailing list