Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb48d0c1

Browse files
committed
Merge pull request#249 from gsnedders/lxml-ascii-2
lxml ascii change; r=nobody!
2 parents84e8802 +06e1a37 commitb48d0c1

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
elifisinstance(s,text_type):
1616
returns
1717
else:
18-
returns.decode("utf-8","strict")
18+
returns.decode("ascii","strict")
1919

2020

2121
classRoot(object):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp