On Tue, Oct 6, 2009 at 9:46 AM, Steve Willoughby <st...@alchemy.com> wrote:

> On Tue, Oct 06, 2009 at 09:42:04AM -0500, Wayne wrote:
> > On Tue, Oct 6, 2009 at 9:26 AM, Christian Witts <cwi...@compuscan.co.za
> >wrote:
> > if sys.version < '2.4':
> >    sys.exit("Need at least Python 2.4")
> >
> > AFAIK the string comparison is reliable
>
> Not quite. What happens when you compare '2.4' and '2.10'?
>

>>> '2.4' > '2.10'
True



>
>
> --
> Steve Willoughby    |  Using billion-dollar satellites
> st...@alchemy.com   |  to hunt for Tupperware.
>



-- 
To be considered stupid and to be told so is more painful than being called
gluttonous, mendacious, violent, lascivious, lazy, cowardly: every weakness,
every vice, has found its defenders, its rhetoric, its ennoblement and
exaltation, but stupidity hasn’t. - Primo Levi
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to