23 Jul
2003
23 Jul
'03
5:59 a.m.
During the Melbourne Zope3 Sprint, someone ran up against a situation where they'd have liked to have TALES perform a tuple unpacking like Python can. I've just run into a similar situation :) Say a method listFilesByUser returns a list of (user, [files]) it'd be nice to be able to:: tal:repeat="user,files here/listFilesByUser" or similar. Currently we would have to use a python: expression to manually unpack the tuple. Kinda yucky. Any comments? Richard