ipy_autoreload %aimport doesn't handle submodules properly
Bug #377355 reported by
Pauli Virtanen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IPython |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
The %aimport from autoreload extension doesn't import submodules correctly:
In [1]: import ipy_autoreload
In [2]: %aimport numpy.linalg
In [3]: numpy.linalg
-------
Traceback (most recent call last):
File "<ipython console>", line 1, in <module>
NameError: name 'numpy' is not defined
This is fixed in lp:~pauli-virtanen/ipython/ipython-autoreload:
In [1]: import ipy_autoreload
In [2]: %aimport numpy.linalg
In [3]: numpy.linalg
Out[3]: <module 'numpy.linalg' from '/usr/lib/
Changed in ipython: | |
status: | New → Fix Committed |
To post a comment you must log in.