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 hynek
Recipients hynek
Date 2011-08-10.10:09:06
SpamBayes Score 0.00046781742
Marked as misclassified No
Message-id <1312970950.41.0.661603105658.issue12721@psf.upfronthosting.co.za>
In-reply-to
Content
While working on #12715 I noticed that the tests of shutil aren't exactly consistent concerning reading and writing files.

There were no less than two function to read files (one of them not being used at all) and two methods to write them. Additionally lots of code 
simply reads/writes by hand.

I've unified the functionality in module functions read_file and write_file which can be told to open the file as binaries.
History
Date User Action Args
2011-08-10 10:09:11hyneksetrecipients: + hynek
2011-08-10 10:09:10hyneksetmessageid: <1312970950.41.0.661603105658.issue12721@psf.upfronthosting.co.za>
2011-08-10 10:09:08hyneklinkissue12721 messages
2011-08-10 10:09:08hynekcreate