summaryrefslogtreecommitdiffhomepage
path: root/sites/www/changelog.rst
diff options
context:
space:
mode:
authorAntoine Brenner <antoine@gymglish.com>2014-04-16 21:58:03 +0200
committerJeff Forcier <jeff@bitprophet.org>2014-04-17 17:52:34 -0400
commit3fce8abf68f386d18f2fad9f086e0d436af57b3a (patch)
tree429d9edcb8fdeb662607a99bd812c02cc7a68b3b /sites/www/changelog.rst
parent9b2388cad56b803ef71d1f3c7523361ecdd16425 (diff)
BufferedFile.read() now returns byte strings instead of text strings
It is the right thing to do since we have no idea what encoding the file is in, or even if the file is text data. BufferedFile.readline() is unchanged and returns text strings assuming the file is utf-8 encoded. This should fix the following issue: http://comments.gmane.org/gmane.comp.sysutils.backup.obnam/252 Antoine Brenner Conflicts: sites/www/changelog.rst
Diffstat (limited to 'sites/www/changelog.rst')
-rw-r--r--sites/www/changelog.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/sites/www/changelog.rst b/sites/www/changelog.rst
index 21ba6e12..67c4f827 100644
--- a/sites/www/changelog.rst
+++ b/sites/www/changelog.rst
@@ -2,6 +2,13 @@
Changelog
=========
+* :bug: BufferedFile.read() now returns byte strings instead of text strings
+ It is the right thing to do since we have no idea what encoding the file
+ is in, or even if the file is text data. BufferedFile.readline() is
+ unchanged and returns text strings assuming the file is utf-8 encoded.
+ This should fix the following issue:
+ http://comments.gmane.org/gmane.comp.sysutils.backup.obnam/252
+ Thanks Antoine Brenner
* :bug:`-` Added self.args for exception classes. Used for unpickling. Related
to (`Fabric #986 <https://github.com/fabric/fabric/issues/986>`_, `Fabric
#714 <https://github.com/fabric/fabric/issues/714>`_). Thanks to Alex