Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Use sys.version_info to determine Python version #1

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

Merged
merged 1 commit into from
Sep 21, 2014

Conversation

svisser
Copy link
Contributor

@svisser svisser commented Sep 20, 2014

The string sys.version should not be used to determine the Python version as there's no guarantee the Python version is at the beginning of the string. The constant sys.version_info should be used instead.

stonebig added a commit that referenced this pull request Sep 21, 2014
Use sys.version_info to determine Python version
@stonebig stonebig merged commit 3f9bbb8 into winpython:master Sep 21, 2014
@stonebig
Copy link
Contributor

Thank you, Simeon.

@svisser svisser deleted the patch-1 branch October 7, 2014 09:14
stonebig pushed a commit that referenced this pull request Sep 4, 2016
fix problem with another find.exe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants