Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop support for Python 2.6 #356

Merged
merged 2 commits into from Nov 7, 2017
Merged

Conversation

@willkg
Copy link
Contributor

@willkg willkg commented Nov 6, 2017

Fixes #330

Fixes #330
@willkg willkg added this to the 1.0 milestone Nov 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)])

This comment has been minimized.

@willkg

willkg Nov 6, 2017
Author Contributor

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

@willkg
Copy link
Contributor Author

@willkg willkg commented Nov 7, 2017

@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
@gsnedders gsnedders merged commit 5f637af into html5lib:master Nov 7, 2017
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@willkg
Copy link
Contributor Author

@willkg willkg commented Nov 7, 2017

Thank you!

@willkg willkg deleted the willkg:330-drop-python-26 branch Dec 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.