<%! from __future__ import division %> on the first line of a file doesn't work, because the import doesn't end up as the first statement in the resulting Python module.
Hardly a show-stopper, but it bit me when I wanted to do a bit of inline math in a template.