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

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to