Title: platform.python_version_tuple returns a list, not a tuple
Type: behaviour Severity: normal
Components: Core Versions: 2.5.1
Status: closed Resolution: invalid
Dependencies: Superseder:
Assigned To: Nosy List: leosoto
Priority: Keywords:

Created on 2009-11-02.00:38:16 by leosoto, last changed 2009-11-02.00:51:42 by leosoto.

msg5297 (view) Author: Leonardo Soto (leosoto) Date: 2009-11-02.00:38:15
This doesn't let one write code like:

    platform.python_version_tuple() < ('2', '5', '1')

[Which currently always returns true, even on Jython 2.5.1]
msg5298 (view) Author: Leonardo Soto (leosoto) Date: 2009-11-02.00:51:42
Oh, I guess that this is sort of intentional, given that CPython2.5.x
has the same behavior (but it's fixed on 2.6.x).
Date User Action Args
2009-11-02 00:51:42leosotosetstatus: open -> closed
resolution: invalid
messages: + msg5298
2009-11-02 00:38:16leosotocreate