This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author methane
Recipients docs@python, methane, wolma
Date 2014-04-03.11:57:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Maybe, shutil.copyfileobj() is good.

import gzip
import shutil

with open(src, 'rb') as f_in:
    with, 'wb') as f_out:
        shutil.copyfileobj(f_in, f_out)
Date User Action Args
2014-04-03 11:57:06methanesetrecipients: + methane, docs@python, wolma
2014-04-03 11:57:06methanesetmessageid: <>
2014-04-03 11:57:06methanelinkissue21146 messages
2014-04-03 11:57:06methanecreate