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

Fix #124: Move to webencodings for decoding the input byte stream.#137

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 1 commit intohtml5lib:masterfromgsnedders:webencodings
Jan 12, 2016

Conversation

@gsnedders
Copy link
Member

Fixes#124. Note this currently fails a large number of tests because ofhtml5lib/html5lib-tests#37. As the changelog notes, this adds a dependency on@SimonSapin's webencodings.

@hoppipolla-critic-bot

Critic review:https://critic.hoppipolla.co.uk/r/521

This is an external review system which you may optionally use for the code review of your pull request.

In order to help critic track your changes, please donot make in-place history rewrites (e.g. viagit rebase -i orgit commit --amend) when updating this pull request.

@SimonSapin
Copy link
Contributor

Note that thee.name attribute ofwebencodingd.Encoding objects is the name inhttp://encoding.spec.whatwg.org/.

Not all such names are recognized in Python.e.codec_info.name is, except for the x-user-defined encoding that does not exist in Python and webencoding defines. To fix that, use eg.e.codec_info.streamreader instead ofcodecs.getreader(). (Not that x-user-defined is very useful anyway…)

@SimonSapin
Copy link
Contributor

Still,documentEncoding (#123) should be the spec name, or even the Encoding object.

@gsnedders
Copy link
MemberAuthor

Note withouthtml5lib/html5lib-tests#40 this fails a fair number of tests.

@landscape-bot
Copy link

Code Health
Repository health decreased by 0.54% when pulling2abaeae on gsnedders:webencodings into46dae3d on html5lib:master.

@gsnedders
Copy link
MemberAuthor

Build seems to be passing with XPASSes, hmm.

@landscape-bot
Copy link

Code Health
Repository health decreased by 0.54% when pullingd659cf3 on gsnedders:webencodings into46dae3d on html5lib:master.

@landscape-bot
Copy link

Code Health
Repository health decreased by 0.54% when pullingff8bbf8 on gsnedders:webencodings into46dae3d on html5lib:master.

@gsnedders
Copy link
MemberAuthor

@jgraham r?

gsnedders added a commit that referenced this pull requestJan 12, 2016
Fix#124: Move to webencodings for decoding the input byte stream.
@gsneddersgsnedders merged commit93ee3b3 intohtml5lib:masterJan 12, 2016
@gsneddersgsnedders deleted the webencodings branchMay 7, 2016 16:45
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Encoding Standard

4 participants

@gsnedders@hoppipolla-critic-bot@SimonSapin@landscape-bot

[8]ページ先頭

©2009-2025 Movatter.jp