% for item in [ 'some', 'long', 'list', 'of', 'items', ]: ${item} % endfor
Produces:
CompileException: Fragment 'for item in [' is not a partial control statement in file...
Adding backslashes to the end of every line works, but normal Python wrapping ought to apply here.