Skip to content

Conversation

@willkg
Copy link
Contributor

@willkg willkg commented Nov 6, 2017

Fixes #330

@willkg willkg added this to the 1.0 milestone Nov 6, 2017
return set(keys)

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

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
Contributor Author

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
@willkg
Copy link
Contributor Author

willkg commented Nov 7, 2017

Thank you!

@willkg willkg deleted the 330-drop-python-26 branch December 4, 2017 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants