On Thu, Aug 13, 2009 at 6:22 PM, Gael Pasgrimaud<
ga...@gawel.org> wrote:
> On Thu, Aug 13, 2009 at 2:59 PM, Martin Stein<
mstei...@googlemail.com> wrote:
>> Hi all,
>>
>> On August 6th a new version of ipython (0.10) was released. When I use
>> paster shell with that version, I get a strange error:
>>
>> In [1]: for i in range(4):
>> <ERROR: 'dict' object has no attribute 'len'>
>>
>> It seems that for-iteration over lists is broken. In normal ipython (without
>> paster shell) it works; when I go back to ipython0.9.1 it works in paster
>> shell, too.
>>
Seems thats all iterations are broken. if 4 in range(10): also failed.
I've also write a small script to see if this came from the embed shell.
# -*- coding: utf-8 -*-
from IPython.Shell import IPShellEmbed
shell = IPShellEmbed(argv=[])
shell.set_banner(shell.IP.BANNER)
shell(local_ns={}, global_ns={})
And well, no. This work fine. Seems it's related to the pylons command.