On Mon, Dec 26, 2011 at 1:13 PM, Yigit Turgut <y.turgut at gmail.com> wrote: > I had thought the same workaround but unfortunately loop is already > under a def ; So nest the functions, or refactor it. Either way, that shouldn't be a significant obstacle.