[IPython-dev] bug report: dreload not working with 'from module import'
Ralf Schmitt
ralf at brainbot.com
Wed Sep 24 17:39:30 EDT 2003
Fernando Perez wrote:
> Ralf Schmitt wrote:
>
>> When using deep_reload.py from IPython 0.4.0 and an otherwise
>> unchanged cvs version, the above dreload seems to work..diff's
>> between those 2 files aren't that big :)
>
>
> Does this mean that the dreload() from 0.4.0 works ok for you? As it
> turns out, those changes in dreload were necessary to fix another bug
> reported earlier on the list.
Yes:
Python 2.3 (#1, Sep 1 2003, 16:57:54)
Type "copyright", "credits" or "license" for more information.
IPython 0.5.1.cvs -- An enhanced Interactive Python.
? -> Introduction to IPython's features.
@magic -> Information about IPython's 'magic' @ functions.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
In [1]: import ipbug.version; dreload(ipbug.version)
Reloading version
Reloading ipbug
Reloading ipbug
Reloading vm
Out[1]: <module 'ipbug.version' from 'ipbug/version.pyc'>
Regards,
- Ralf
--
brainbot technologies ag
boppstrasse 64 . 55118 mainz . germany
fon +49 6131 211639-1 . fax +49 6131 211639-2
http://brainbot.com/ mailto:ralf at brainbot.com
More information about the IPython-dev
mailing list