Message141856
| 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:11 | hynek | set | recipients:
+ hynek |
| 2011年08月10日 10:09:10 | hynek | set | messageid: <1312970950.41.0.661603105658.issue12721@psf.upfronthosting.co.za> |
| 2011年08月10日 10:09:08 | hynek | link | issue12721 messages |
| 2011年08月10日 10:09:08 | hynek | create |
|