]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Remove the sys.version_info shortcut, since they cause the APIs
authorMarc-André Lemburg <mal@egenix.com>
Wed, 25 Mar 2009 19:44:58 +0000 (19:44 +0000)
committerMarc-André Lemburg <mal@egenix.com>
Wed, 25 Mar 2009 19:44:58 +0000 (19:44 +0000)
commita519cfc9534016725435c23fc1840d7d43d47c3b
tree4deadf1b93bf2844bb78c8baa6b5571c42b32d02
parent9a1337b95e488a46caa781853591c20fd1de3be9
Remove the sys.version_info shortcut, since they cause the APIs
to return different information than the _sys_version() output
used in previous Python versions.

This also fixes issue5561: platform.python_version_tuple returns tuple of ints, should be strings

Added more tests for the various platform functions.
Lib/platform.py
Lib/test/test_platform.py