yes. never return a list unless it is a list of strings you want to stream 
or a generator of strings.

On Friday, 21 December 2012 07:27:41 UTC-6, Manuele wrote:
>
> Il 20/12/12 20:11, Massimo Di Pierro ha scritto: 
> > yes. 
> > 
> > You are not supposed to return an iterable (in your case a list). 
> > web2py thinks you want to do streaming and will start looping over the 
> > iterable. This should change in web3py not we cannot change it in 
> web2py. 
> > 
> > Massimo 
> Thanks Massimo, 
> so the solution is to retur a dictionary containing my list, right? 
>
> Cheeres 
>
>      Manuele 
>

-- 



Reply via email to