[IPython-dev] future division in embedded ipython
Bradley M. Froehle
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 <email@example.com (mailto:firstname.lastname@example.org)> 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:
> Otherwise, Joon, please file an issue so we don't forget about it.
> IPython-dev mailing list
> IPythonemail@example.com (mailto:IPythonfirstname.lastname@example.org)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev