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

Don't use cElementTree on Python 3#502

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:conditional_etree
Jun 17, 2020

Conversation

gsnedders
Copy link
Member

This just directly imports the first commit frompypa/pip#8278.Fixes#494. This doesn't fill me with joy, but I guess sometimes we do the perhaps silly thing for pip.

(@tiran this is just your commit, let me know if you have any objection to it landing here)

@codecov-commenter
Copy link

codecov-commenter commentedJun 10, 2020
edited
Loading

Codecov Report

Merging#502 intomaster willincrease coverage by0.00%.
The diff coverage is66.66%.

Impacted file tree graph

@@           Coverage Diff           @@##           master     #502   +/-   ##=======================================  Coverage   91.06%   91.06%           =======================================  Files          50       50             Lines        7036     7038    +2       Branches     1340     1341    +1     =======================================+ Hits         6407     6409    +2  Misses        475      475             Partials      154      154
Impacted FilesCoverage Δ
html5lib/_utils.py82.95% <66.66%> (+0.39%)⬆️

Continue to review full report at Codecov.

Legend -Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered byCodecov. Last updateb2b08cc...e4ff95f. Read thecomment docs.

jgraham
jgraham previously approved these changesJun 12, 2020
Copy link
Member

@jgrahamjgraham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

r+ but I agree with the preference forif not PY2 in this case, although I'm obviously hoping Python 4 isn't a real thing since it will just cause more needless breakage.

@gsneddersgsnedders mentioned this pull requestJun 16, 2020
It's been deprecated and will be removed in 3.9 or 3.10. 3.9.0b1 doesn'thave cElementTree. I'd like to bring it back with a deprecation warningto drop in 3.10.See:python/cpython#19921Signed-off-by: Christian Heimes <christian@python.org>Signed-off-by: Sam Sneddon <me@gsnedders.com>
@gsnedders
Copy link
MemberAuthor

r+ but I agree with the preference forif not PY2 in this case, although I'm obviously hoping Python 4 isn't a real thing since it will just cause more needless breakage.

Note that this has been discussed upstream at six on a number of occasions: seehttps://bitbucket.org/gutworth/six/issues/22/variable-sixpy3-is-time-bomb andbenjaminp/six#297, as well as the python-dev thread athttps://mail.python.org/archives/list/python-dev@python.org/thread/M5N3PZP4IUMKRZJKKJQA4IXK5VDX5MOP/ about 3.10 v. 4.

@gsnedders
Copy link
MemberAuthor

I'm landing this as-is because if that's what a CPython core developer is doing that's good enough for me 🤷

@gsneddersgsnedders merged commit7e52b16 intohtml5lib:masterJun 17, 2020
@gsneddersgsnedders deleted the conditional_etree branchJune 17, 2020 21:24
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@jgrahamjgrahamjgraham left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Avoid cElementTree on Python 3
4 participants
@gsnedders@codecov-commenter@jgraham@tiran

[8]ページ先頭

©2009-2025 Movatter.jp