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

Drop support for Python 2.6#356

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:masterfromwillkg:330-drop-python-26
Nov 7, 2017
Merged

Drop support for Python 2.6#356

gsnedders merged 2 commits intohtml5lib:masterfromwillkg:330-drop-python-26
Nov 7, 2017

Conversation

willkg
Copy link
Contributor

Fixes#330

hugovk reacted with thumbs up emojihugovk reacted with hooray emoji
@willkgwillkg added this to the1.0 milestoneNov 6, 2017
@@ -13,7 +13,6 @@ def keys(self, prefix=None):
if prefix is None:
return set(keys)

# Python 2.6: no set comprehensions
return set([x for x in keys if x.startswith(prefix)])
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Oops--meant to convert this to set comprehension syntax. Will do now.

@willkg
Copy link
ContributorAuthor

@gsnedders@jgraham Can someone review this? The changes involve:

  • removing usage of the ordereddict library
  • switch to using set comprehension syntax
  • removing Python 2.6 and related bits from test environments
  • updating documentation about Python 2.6 support

@gsneddersgsnedders merged commit5f637af intohtml5lib:masterNov 7, 2017
@willkg
Copy link
ContributorAuthor

Thank you!

@hugovkhugovk mentioned this pull requestNov 22, 2017
@willkgwillkg deleted the 330-drop-python-26 branchDecember 4, 2017 14:03
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@gsneddersgsneddersgsnedders approved these changes

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

Successfully merging this pull request may close these issues.

2 participants
@willkg@gsnedders

[8]ページ先頭

©2009-2025 Movatter.jp