[IPython-user] Fwd: deep reload now default?
Wed Oct 22 09:51:13 CDT 2008
How embarassing, I had meant to send this to the list.
---------- Forwarded message ----------
From: Rohan Nicholls <firstname.lastname@example.org>
Date: Wed, Oct 22, 2008 at 4:07 PM
Subject: Re: [IPython-user] deep reload now default?
To: Robert Kern <email@example.com>
I have had no luck finding out where this is going wrong,
and it is driving me nuts. Is there any way to explicitly
set the deep reload to off, that will actually be read by
ipython on start up?
On Fri, Oct 17, 2008 at 11:07 AM, Rohan Nicholls
> It is definitely on deep reload then.
> In : reload?
> Type: function
> Base Class: <type 'function'>
> String Form: <function reload at 0x848248c>
> Namespace: Python builtin
> File: /home/rohan/src/ipython/IPython/deep_reload.py
> Definition: reload(module, exclude=['sys', '__builtin__', '__main__'])
> Recursively reload all modules used in the given module. Optionally
> takes a list of modules to exclude from reloading. The default exclude
> list contains sys, __main__, and __builtin__, to prevent, e.g., resetting
> display, exception, and io hooks.
> So it is willfully ignoring my settings or something else
> is triggering the deep reload. The strange thing is
> that I have done nothing to change the system, and it
> just started doing deep reload by default.
> I will have a look at all the settings I can find.
> On Thu, Oct 16, 2008 at 8:42 PM, Robert Kern <firstname.lastname@example.org> wrote:
>> Rohan Nicholls wrote:
>>> Hi all,
>>> I am wondering why ipython is willfully ignoring my settings.
>>> I have asked explicitly that a reload does not do a deep reload,
>>> because it crashes ipython
>>> when working with wx.
>>> I have this set in ipythonrc, and ipy_user_conf.py in the .ipython directory.
>>> But for some reason ipython is now ignoring this (it used to obey it),
>>> which is really slowing
>>> things down.
>> deep_reload is definitely off by default. Can you double-check by displaying
>> 'reload'? For example, this is what it should look like when deep_reload is off:
>> In : reload
>> Out: <built-in function reload>
>> In : dreload
>> Out: <function reload at 0xf96bb0>
>> Robert Kern
>> "I have come to believe that the whole world is an enigma, a harmless enigma
>> that is made terrible by our own mad attempt to interpret it as though it had
>> an underlying truth."
>> -- Umberto Eco
>> IPython-user mailing list
More information about the IPython-user