In article <[EMAIL PROTECTED]>, Sion Arrowsmith wrote: > Jon Ribbens <[EMAIL PROTECTED]> wrote: >> if sys.hexversion < 0x020400f0: >> ... error ... > > "Readability counts." > > if sys.version_info < (2, 4): > ... error ...
Maybe you should suggest a patch to the Python documentation then ;-) The formula I mentioned is the one suggested in the official Python documentation ( http://docs.python.org/lib/module-sys.html#l2h-5143 ) as being the way to check the Python version. -- http://mail.python.org/mailman/listinfo/python-list