Odd version scheme

Mark Lawrence breamoreboy at yahoo.co.uk
Thu Feb 12 14:24:31 EST 2015


On 12/02/2015 19:16, Ian Kelly wrote:
> On Thu, Feb 12, 2015 at 11:58 AM, MRAB <python at mrabarnett.plus.com> wrote:
>> On 2015-02-12 17:35, Ian Kelly wrote:
>>>
>>> On Thu, Feb 12, 2015 at 10:19 AM, Skip Montanaro
>>> <skip.montanaro at gmail.com> wrote:
>>>>
>>>> I believe this sort of lexicographical comparison wart is one of the
>>>> reasons
>>>> the Python-dev gang decided that there would be no micro versions > 9.
>>>> There
>>>> are too many similar assumptions about version numbers out in the real
>>>> world.
>>>
>>>
>>> It still becomes an issue when we get to Python 10.
>>>
>> Just call it Python X! :-)
>
> Things break down again when we get to Python XIX.
>
>>>> 'XVIII' < 'XIX'
> False
>

I believe that this could be solved by borrowing from Mark Pilgrim's 
excellent "Dive Into Python" which uses (or used?) these hex (?) numbers 
as the basis for a look at unit testing.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence




More information about the Python-list mailing list