[IPython-dev] 2.4-only bug in ipipe

Walter Dörwald walter at livinglogic.de
Wed May 3 15:40:53 EDT 2006


Fernando Perez wrote:
> Hi folks,
> 
> under python2.3:
> 
> In [1]: from ipipe import *
> ------------------------------------------------------------
>    File "/home/fperez/ipython/svn/ipython/trunk/IPython/Extensions/ipipe.py",
> line 451
>      "|".join(attrs2name[b] for b in xrange(6) if self.attrs&(1<<b)) or 0)
>                               ^
> SyntaxError: invalid syntax
> 
> 
> Let's make sure that we keep all code 2.3 compatible.  Apple OSX ships
> with 2.3, as do many other still-widely-used Linux distros.

Done.

This reminds me: Do we need a test suite for ipipe?

Servus,
    Walter




More information about the IPython-dev mailing list