Permalink
Browse files

Python 3 byte string output: use errors="surrogateescape" change note

  • Loading branch information...
1 parent b531956 commit f03bff152c44203ece2084aac03f14ac55a33b5c @wsfulton wsfulton committed May 27, 2014
Showing with 9 additions and 0 deletions.
  1. +9 −0 CHANGES.current
View
@@ -5,6 +5,15 @@ See the RELEASENOTES file for a summary of changes in each release.
Version 3.0.1 (in progress)
===========================
+2014-05-25: hfalcic
+ [Python] Python 3 byte string output: use errors="surrogateescape"
+ if available on the version of Python that's in use. This allows
+ obtaining the original byte string (and potentially trying a fallback
+ encoding) if the bytes can't be decoded as UTF-8.
+
+ Previously, a UnicodeDecodeError would be raised with no way to treat
+ the data as bytes or try another codec.
+
2014-05-18: vkalinin
Bug #175 - Restore %extend to work for unnamed nested structures by using a C
symbol comprising the outer structure name and unnamed variable instance name.

0 comments on commit f03bff1

Please sign in to comment.