[IPython-dev] future division in embedded ipython

Bradley M. Froehle brad.froehle@gmail....
Wed Jul 4 17:05:04 CDT 2012


I think I worked out a relatively simple solution: https://github.com/ipython/ipython/pull/2096


On Wednesday, July 4, 2012 at 1:28 PM, Thomas Kluyver wrote:

> On 4 July 2012 21:14, Joon Ro <joonpyro@gmail.com (mailto:joonpyro@gmail.com)> wrote:
> > Anyway, in my opinion, "inheriting" division is logical behavior. It
> > actually was especially confusing for me because I have the import future
> > statement in my ipython config file so whenever I run ipython, future
> > division is automatically imported. So I assumed the embedded ipython
> > would be the same.
> > 
> 
> 
> I think the embedded IPython ignores your config - which is an even
> more complex argument. Let's not go there today.
> 
> I think I agree that embedded IPython should inherit future flags from
> the module it's called in. I'm not going to have time to work on it
> for a bit, though. If anyone else wants to pick it up, I think new
> code will be needed in this method:
> https://github.com/ipython/ipython/blob/master/IPython/frontend/terminal/embed.py#L164
> 
> Otherwise, Joon, please file an issue so we don't forget about it.
> 
> Thanks,
> Thomas
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org (mailto:IPython-dev@scipy.org)
> http://mail.scipy.org/mailman/listinfo/ipython-dev
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20120704/cd2982ca/attachment.html 


More information about the IPython-dev mailing list