Serhiy Storchaka added the comment:

A more general feature is implemented in issue26039. Now you can write to ZIP 
archive the content of opened file object with following two lines:

        with zipf.open('file.txt', 'wb') as target:
            shutil.copyfileobj(source, target)

----------
resolution:  -> rejected
stage: patch review -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11980>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to