On Sun, Apr 18, 2004 at 07:33:21AM -0500, rmunn@pobox.com wrote: > import time > from rfc822 import formatdate > from types import StringType, IntType > +try: > + from __future__ import division > +except SyntaxError: > + _new_division = 0 > +else: > + _new_division = 1 Have you tested it? This should not work - "from __future__" is comiler directive and must be the first statement in a module. Really the first - even try is not allowed. I.e. you cannot protect "__future__"... Oleg. -- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.