[IPython-user] Running iPython .8.3 with Python 2.3 on Windows

Fernando Perez fperez.net@gmail....
Fri May 30 01:35:12 CDT 2008

Hi Tony,

On Thu, May 29, 2008 at 11:52 AM, Tony Cappellini <cappy2112@gmail.com> wrote:
> When I launch ipython .8.3 on Python 2.3.4- on Windows XP
> This exception occurs.
> Is Ipython only working for Python 2.4 and later?
> Microsoft Windows XP [Version 5.1.2600]
> (C) Copyright 1985-2001 Microsoft Corp.
> c:\Python23\Scripts>ipython.py
> Traceback (most recent call last):
>   File "c:\Python23\Scripts\ipython.py", line 27, in ?
>     IPython.Shell.start().mainloop()
>   File "C:\Python23\Lib\site-packages\IPython\Shell.py", line 1215, in start
>     shell = _select_shell(sys.argv)
>   File "C:\Python23\Lib\site-packages\IPython\Shell.py", line 1157, in
> _select_shell
>     all_opts = set(['tk','pylab','gthread','qthread','q4thread','wthread',
> NameError: global name 'set' is not defined

We've obviously let 2.4-isms creep in.  Is upgrading to 2.4 not
easy/feasible for you?  Do others have a need for 2.3 still?  If
that's the case, I'm pretty sure we don't have anything critical right
now that actually *needs* 2.4, this was purely accidental (and trivial
to fix, btw, since sets were already a module in 2.3).  It's just that
absent a robust test suite for ipython, even if I install 2.3, finding
more bugs may be a bit of a haphazard process (I would only run 2.3
briefly for simple tests,  but my normal production environment these
days is 2.5).

But certainly if there's a genuine need  for 2.3 still out there, we
can try to accomodate.  Voices?



More information about the IPython-user mailing list