graceful version detection?

Rikard Bosnjakovic bos at hack.org
Mon Jun 18 09:12:36 CEST 2001


Don O'Donnell wrote:

> But, sys.version_info (new in ver 2.0) is a tuple which makes it
...
> or
>     if sys.version_info < (1, 5, 2):

These two lines dont mix. If you run that on 1.5.2 it won't work well.


-- 
Rikard Bosnjakovic - http://bos.hack.org/cv/ - ICQ: 1158217

Anyone sending unwanted advertising e-mail to my address will be
charged $250 for network traffic and computing time. By extracting my
address from this message or its header, you agree to these terms.



More information about the Python-list mailing list