[web2py] REF: Web2py Shell - cannot overwrite functions??

2012-12-31 Thread Teddy Nyambe
In web2py when i redefine a function, it does not overwrite the function...is this by design? See the example below: In [39] : def add(v): return v+2 In [40] : print add(5) 7 In [41] : def add(v): return v+5 In [42] : print add(5) 7 --

Re: [web2py] REF: Web2py Shell - cannot overwrite functions??

2012-12-31 Thread Bruno Rocha
If you are using the web shell (on admin interface), yes there is a bug with this. But in a normal console it does not happens. --

Re: [web2py] REF: Web2py Shell - cannot overwrite functions??

2012-12-31 Thread Teddy Nyambe
ok noted! On Mon, Dec 31, 2012 at 4:52 PM, Bruno Rocha rochacbr...@gmail.com wrote: If you are using the web shell (on admin interface), yes there is a bug with this. But in a normal console it does not happens. -- --