[IPython-user] from __future__ import division

skip at pobox.com skip at pobox.com
Mon Dec 19 21:05:59 CST 2005

    Fernando> Note that I'm running from SVN, but I doubt that has anything
    Fernando> to do with this issue.  All I did was put in my ipythonrc file
    Fernando> the line I mentioned:

    Fernando> execute exec __IP.compile('from __future__ import 
    Fernando> division','<input>','single') in __IP.shell.user_ns

Running 0.6.15 on MacOSX, adding that line does nothing as far as I can
tell.  How can I tell that IPython processed my ~/.ipython/ipythonrc file?

    Fernando> At any rate, if the solution you posted (-q new) works for
    Fernando> you, that's great.  I just wanted to clarify that this one
    Fernando> does work at least on my system, though I'm at a loss to guess
    Fernando> why it fails for you.

The -Qnew flag isn't understood by IPython.  Is it possible to support it?


More information about the IPython-user mailing list