[issue26039] More flexibility in zipfile interface
Serhiy Storchaka
report at bugs.python.org
Thu Jan 7 11:07:17 EST 2016
Serhiy Storchaka added the comment:
issue11980 has a patch that adds a method for writing a file into the ZIP archive.
But more flexible way is to add the support of the "w" mode to ZipFile.open(). This will allow to write a data that doesn't exist in memory at once, nor in disk, but is loaded by chunks from the pipe, or from the socket, or from other archive, or just generated on fly. I'm worked on this, but this feature needed to add support of some other features. For example writing to unseekable file (already implemented) or writing and reading a file without known size (not implemented still).
issue18595 has a proposition to add special methods for creating symlinks, directories etc.
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26039>
_______________________________________
More information about the Python-bugs-list
mailing list