Re: [web2py] Re: json service

2012-12-21 Thread Massimo Di Pierro
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

Re: [web2py] Re: json service

2012-12-21 Thread Manuele Pesenti
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

[web2py] Re: json service

2012-12-20 Thread Massimo Di Pierro
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 On Thursday, 20 December 2012 10:24:05 UTC-6, Manuele wrote: > > tryin