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

Appearance settings

Conversation

@svisser
Copy link
Contributor

@svisser svisser commented Oct 3, 2017

This changes the Python 2 / 3 version check to use sys.version_info as the version number is not guaranteed to be at the beginning of sys.version across Python implementations. Please also see the note in the documentation: https://docs.python.org/2/library/sys.html#sys.version.

@svisser
Copy link
Contributor Author

svisser commented Oct 3, 2017

The build fails but that's due to no such option: --use-mirrors when calling pip, not this code change.

@derek73 derek73 merged commit 29727b9 into derek73:master Jan 15, 2018
@svisser svisser deleted the py3_version_info branch January 15, 2018 23:28
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.