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

lxml ascii change#249

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
gsnedders merged 2 commits intohtml5lib:masterfromgsnedders:lxml-ascii-2
May 11, 2016
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletionsCHANGES.rst
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,7 +6,7 @@ Change Log

Released on XXX

* Added ordereddict as a mandatory dependency on Python 2.6.
***Added ordereddict as a mandatory dependency on Python 2.6.**

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

* Cease supporting DATrie under PyPy.

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

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

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

* Cease supporting Python 3.2 (in both CPython and PyPy forms).
* **Cease supporting Python 3.2 (in both CPython and PyPy forms).**

* **Fix comments containing double-dash with lxml 3.5 and above.**

* **Use scripting disabled by default (as we don't implement
scripting).**


0.9999999/1.0b8
Expand Down
2 changes: 1 addition & 1 deletionhtml5lib/treewalkers/lxmletree.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -15,7 +15,7 @@ def ensure_str(s):
elif isinstance(s, text_type):
return s
else:
return s.decode("utf-8", "strict")
return s.decode("ascii", "strict")


class Root(object):
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp