Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #85609

Re: Odd version scheme

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Odd version scheme
Date 2015-02-12 19:24 +0000
References (1 earlier) <20150212110506.39410d54@bigbox.christie.dr> <CANc-5Uz3SyYomPXfTG9pFA+87VAC8TnvGp--VT8F47PdaA8Jeg@mail.gmail.com> <CALwzidnwsaX6Y2pnty+-outsK=r7JiXRtDDuSQwyoboFTeMNfA@mail.gmail.com> <54DCF7D6.9090606@mrabarnett.plus.com> <CALwzidk0An7cJEue23gVjcT7T454zY0dQ=godV4XYQD+7tqwtg@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.18708.1423769085.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 12/02/2015 19:16, Ian Kelly wrote:
> On Thu, Feb 12, 2015 at 11:58 AM, MRAB <python@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@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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Odd version scheme Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-02-12 19:24 +0000

csiph-web