Author wolma
Recipients docs@python, methane, wolma
Date 2014-04-03.12:50:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1396529440.86.0.581260801454.issue21146@psf.upfronthosting.co.za>
In-reply-to
Content
same speed is not surprising though as shutil.copyfileobj is implemented like this:

def copyfileobj(fsrc, fdst, length=16*1024):
    """copy data from file-like object fsrc to file-like object fdst"""
    while 1:
        buf = fsrc.read(length)
        if not buf:
            break
        fdst.write(buf)

which is essentially what I was proposing :)
History
Date User Action Args
2014-04-03 12:50:40wolmasetrecipients: + wolma, methane, docs@python
2014-04-03 12:50:40wolmasetmessageid: <1396529440.86.0.581260801454.issue21146@psf.upfronthosting.co.za>
2014-04-03 12:50:40wolmalinkissue21146 messages
2014-04-03 12:50:40wolmacreate