[IPython-user] ipython and python 2.6, 3.0

Andy Todd andy47@halfcooked....
Sun Sep 14 02:57:08 CDT 2008


ipython-user-request@scipy.org wrote:
> Send IPython-user mailing list submissions to
> 	ipython-user@scipy.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.ipython.scipy.org/mailman/listinfo/ipython-user
> or, via email, send a message with subject or body 'help' to
> 	ipython-user-request@scipy.org
> 
> You can reach the person managing the list at
> 	ipython-user-owner@scipy.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of IPython-user digest..."
> 
> 
> Today's Topics:
> 
>    1. IPython.kernel.client.Task is not present! (mark starnes)
>    2. ipython and python 2.6, 3.0 (david.strozzi@gmail.com)
>    3. Re: IPython.kernel.client.Task is not present! (Brian Granger)
>    4. Re: ipython and python 2.6, 3.0 (Brian Granger)
>    5. Re: Anyone using ipython.el? (Thomas Bach)
>    6. Re: Anyone using ipython.el? (Stefan Schwarzburg)
>    7. Re: IPython.kernel.client.Task is not present! (mark starnes)
>    8. Re: Anyone using ipython.el? (Rohan Nicholls)
> 
> 
> ----------------------------------------------------------------------
[snip]
> 
> ------------------------------
> 
> Message: 2
> Date: Thu, 11 Sep 2008 15:55:15 -0400
> From: "david.strozzi@gmail.com" <david.strozzi@gmail.com>
> Subject: [IPython-user] ipython and python 2.6, 3.0
> To: ipython-user@scipy.org
> Message-ID: <380-220089411195515798@M2W031.mail2web.com>
> Content-Type: text/plain; charset=iso-8859-1
> 
> Folks,
> 
> I was wondering if, or when, ipython will work with python 2.6 or 3.0.  Is
> v3.0 going to take a long time (~years) for the python world to move to?
> 
> Thanks,
> Dave
> 
> --------------------------------------------------------------------
> mail2web LIVE ? Free email based on Microsoft? Exchange technology -
> http://link.mail2web.com/LIVE
> 
> 
> 
> 
> ------------------------------
[snip]
> 
> ------------------------------
> 
> Message: 4
> Date: Thu, 11 Sep 2008 15:19:32 -0700
> From: "Brian Granger" <ellisonbg.net@gmail.com>
> Subject: Re: [IPython-user] ipython and python 2.6, 3.0
> To: david.strozzi@gmail.com
> Cc: ipython-user@scipy.org
> Message-ID:
> 	<6ce0ac130809111519o1ecd540fu2491a97d8080d17e@mail.gmail.com>
> Content-Type: text/plain; charset=WINDOWS-1252
> 
>> I was wondering if, or when, ipython will work with python 2.6 or 3.0.  Is
>> v3.0 going to take a long time (~years) for the python world to move to?
> 
> 2.6 shouldn't be too bad.  We will probably begin the 2.6 transition
> until after 2.6 is out.  At that point, I imagine it might take a
> month or so - partially because IPython has dependencies that will
> also have to make the transition.
> 
> 3.0 is another story.   Short answer: we haven't thought about it yet.
>  Long answer - because we do have dependencies, we might be somewhat
> slow on this front, simply because we have to wait for these other
> projects to move to 3.0 first.  But, because so many people use
> IPython, we do want to make the transition as fast as possible.
> 
> The most annoying thing is that like most projects, we will probably
> have to have separate 2.4-2.6 and >3.0 branches of the project for
> quite a while.  This will be annoying as hell for all involved.
> 


FWIW the advice from python-dev is not to do this. The recommendation is 
to update your 2.6 code until it automatically converts to Py3k using 
the 2to3 utility - http://svn.python.org/view/sandbox/trunk/2to3/

To cut a release you can tag the code in your source repository; from 
this produce a 2.6 version then run the utility to produce a 3.0 version.

Of course, I have no idea how practical this will be for IPython.

> Hope that helps,
> 
> Cheers,
> 
> Brian
> 
>> Thanks,
>> Dave
>>
[snip]
> 

Regards,
Andy
-- 
 From the desk of Andrew J Todd esq - http://www.halfcooked.com/


More information about the IPython-user mailing list