Subject: [FIAT-dev] Python 2.5

From: "Garth N. Wells" <[email-masked]>
Date: Mon, 23 Apr 2007 18:34:46 +0200

Installing the development version of FIAT with Python 2.5 gives the error

byte-compiling /usr/lib/python2.5/site-packages/FIAT/xpermutations.py to 
  xpermutations.pyc
   File "/usr/lib/python2.5/site-packages/FIAT/xpermutations.py", line 19
     from __future__ import generators
SyntaxError: from __future__ imports must occur at the beginning of the file

As suggested by the error message, moving

   from __future__ import generators

  in xpermutations.py to the top of the file avoids the error message.

Garth