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.

classification
Title: shutil.copyfileobj description is incomplete
Type: Stage:
Components: Documentation Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, herrwitten
Priority: normal Keywords:

Created on 2007-02-10 05:37 by herrwitten, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg31240 - (view) Author: Witten (herrwitten) Date: 2007-02-10 05:37
shutil.copyfileobj reads the source's data starting from the source's current file position. Thus, a user must issue seek(0) in order to have all of the source file object's contents read.

This needs to be documented.
msg31241 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-03-07 09:35
Patch #1669331 fixed this.
History
Date User Action Args
2022-04-11 14:56:22adminsetgithub: 44567
2007-02-10 05:37:46herrwittencreate