[IPython-user] deep reload now default?
Fri Oct 17 04:07:33 CDT 2008
It is definitely on deep reload then.
In : reload?
Base Class: <type 'function'>
String Form: <function reload at 0x848248c>
Namespace: Python builtin
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 <email@example.com> 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