Re: paster shell and new ipython0.10 problem

2009-08-13 Thread Gael Pasgrimaud
Seems that the exec statement add a __builtins__ key to the locs dictionnary and IPython don't like it. Adding locs.pop('__builtins__') before shell initialization fix the problem: In pylons/command.py at line ~=512: shell.set_banner(shell.IP.BANNER + '\n\n' + banner) if

Re: paster shell and new ipython0.10 problem

2009-08-13 Thread Philip Jenvey
On Aug 13, 2009, at 10:02 AM, Gael Pasgrimaud wrote: > > Seems that the exec statement add a __builtins__ key to the locs > dictionnary and IPython don't like it. > > Adding locs.pop('__builtins__') before shell initialization fix the > problem: > > In pylons/command.py at line ~=512: > >

Re: paster shell and new ipython0.10 problem

2009-08-13 Thread Gael Pasgrimaud
On Fri, Aug 14, 2009 at 2:37 AM, Philip Jenvey wrote: > > > On Aug 13, 2009, at 10:02 AM, Gael Pasgrimaud wrote: > >> >> Seems that the exec statement add a __builtins__ key to the locs >> dictionnary and IPython don't like it. >> >> Adding locs.pop('__builtins__') before shell initialization fix