Message215444
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 :) |
|
Date |
User |
Action |
Args |
2014-04-03 12:50:40 | wolma | set | recipients:
+ wolma, methane, docs@python |
2014-04-03 12:50:40 | wolma | set | messageid: <1396529440.86.0.581260801454.issue21146@psf.upfronthosting.co.za> |
2014-04-03 12:50:40 | wolma | link | issue21146 messages |
2014-04-03 12:50:40 | wolma | create | |
|