[IPython-dev] 2.4-only bug in ipipe

Fernando Perez fperez.net at gmail.com
Wed May 3 15:25:21 EDT 2006

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.



More information about the IPython-dev mailing list