Changed print to print()
Changed d.iteritems() to six.iteritems(d) and d.items() to list(d.items())
Changed except syntax
Changed d.has_key(a) to a in d
Changed izip to zip and used six.moves import zip and changed syntax to avoid map
Changed raise syntax
Add import for reduce
Changed xrange to range and six.moves import range, and changed range() to list(range())
Decode byte to unicode
Version test for module import
Version check for int/long conversion
Merge bitbucket.org:fenics-project/ffc into aslakbergersen/topic-prepare-py3
Relative import
Encoding and decoding of bytes and unistring, and more relative import
Changed __div__ to __truediv__
Python 3 syntax
Merge with fenics master
Integer division and decoding
Decode
Remove unnecessary list() from 2to3