Skip to content

Commit b48d0c1

Browse files
committed
Merge pull request #249 from gsnedders/lxml-ascii-2
lxml ascii change; r=nobody!
2 parents 84e8802 + 06e1a37 commit b48d0c1

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

CHANGES.rst

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Change Log
66

77
Released on XXX
88

9-
* Added ordereddict as a mandatory dependency on Python 2.6.
9+
* **Added ordereddict as a mandatory dependency on Python 2.6.**
1010

1111
* Added ``lxml``, ``genshi``, ``datrie``, ``charade``, and ``all``
1212
extras that will do the right thing based on the specific
@@ -16,17 +16,22 @@ Released on XXX
1616

1717
* Cease supporting DATrie under PyPy.
1818

19-
* Remove ``PullDOM`` support, as this hasn't ever been properly
19+
* **Remove ``PullDOM`` support, as this hasn't ever been properly
2020
tested, doesn't entirely work, and as far as I can tell is
21-
completely unused by anyone.
21+
completely unused by anyone.**
2222

2323
* Move testsuite to ``py.test``.
2424

25-
* Fix #124: move to webencodings for decoding the input byte stream;
25+
* **Fix #124: move to webencodings for decoding the input byte stream;
2626
this makes html5lib compliant with the Encoding Standard, and
27-
introduces a required dependency on webencodings.
27+
introduces a required dependency on webencodings.**
2828

29-
* Cease supporting Python 3.2 (in both CPython and PyPy forms).
29+
* **Cease supporting Python 3.2 (in both CPython and PyPy forms).**
30+
31+
* **Fix comments containing double-dash with lxml 3.5 and above.**
32+
33+
* **Use scripting disabled by default (as we don't implement
34+
scripting).**
3035

3136

3237
0.9999999/1.0b8

html5lib/treewalkers/lxmletree.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def ensure_str(s):
1515
elif isinstance(s, text_type):
1616
return s
1717
else:
18-
return s.decode("utf-8", "strict")
18+
return s.decode("ascii", "strict")
1919

2020

2121
class Root(object):

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy