diff options
author | Leonard Richardson <leonardr@segfault.org> | 2015-06-25 19:35:35 -0400 |
---|---|---|
committer | Leonard Richardson <leonardr@segfault.org> | 2015-06-25 19:35:35 -0400 |
commit | aab2501c3998174f0ce69d93691a5fe1d4922c02 (patch) | |
tree | 34f37b941d5a19acbbac7c0f67fc4ffaa6aba89a | |
parent | 0ce55d794c2ed142f70674d2b48e8294ca8b1d22 (diff) |
In Python 3, __str__ now returns a Unicode string instead
of a bytestring. [bug=1420131]
-rw-r--r-- | NEWS.txt | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -1,5 +1,10 @@ = 4.4.0 (Unreleased) = +* __repr__ now returns an ASCII bytestring in Python 2, and a Unicode + string in Python 3, instead of a UTF8-encoded bytestring in both + versions. In Python 3, __str__ now returns a Unicode string instead + of a bytestring. [bug=1420131] + * Started using a standard MIT license. [bug=1294662] * Added a Chinese translation of the documentation by Delong .w. @@ -13,10 +18,6 @@ * Fixed yet another bug that caused a disconnected tree when html5lib copied an element from one part of the tree to another. [bug=1270611] -* __repr__ now returns an ASCII bytestring in Python 2, and a Unicode - string in Python 3, instead of a UTF8-encoded bytestring in both - versions. [bug=1420131] - * The select() method now supports selector grouping. Patch by Francisco Canas [bug=1191917] |