Show More
@@ -22,7 +22,7 b" name = 'ipython'" | |||||
22 | # because bdist_rpm does not accept dashes (an RPM) convention, and |
|
22 | # because bdist_rpm does not accept dashes (an RPM) convention, and | |
23 | # bdist_deb does not accept underscores (a Debian convention). |
|
23 | # bdist_deb does not accept underscores (a Debian convention). | |
24 |
|
24 | |||
25 |
revision = '9 |
|
25 | revision = '96' | |
26 | branch = 'ipython' |
|
26 | branch = 'ipython' | |
27 |
|
27 | |||
28 | if branch == 'ipython': |
|
28 | if branch == 'ipython': |
@@ -32,7 +32,9 b' import imp' | |||||
32 | import sys |
|
32 | import sys | |
33 |
|
33 | |||
34 | # Replacement for __import__() |
|
34 | # Replacement for __import__() | |
35 | def deep_import_hook(name, globals=None, locals=None, fromlist=None): |
|
35 | def deep_import_hook(name, globals=None, locals=None, fromlist=None, level=-1): | |
|
36 | # For now level is ignored, it's just there to prevent crash | |||
|
37 | # with from __future__ import absolute_import | |||
36 | parent = determine_parent(globals) |
|
38 | parent = determine_parent(globals) | |
37 | q, tail = find_head_package(parent, name) |
|
39 | q, tail = find_head_package(parent, name) | |
38 | m = load_tail(q, tail) |
|
40 | m = load_tail(q, tail) |
@@ -1,3 +1,8 b'' | |||||
|
1 | 2008-04-09 Ville Vainio <vivainio@gmail.com> | |||
|
2 | ||||
|
3 | * deep_reload.py: do not crash on from __future__ import | |||
|
4 | absolute_import. Close #244. | |||
|
5 | ||||
1 | 2008-04-02 Ville Vainio <vivainio@gmail.com> |
|
6 | 2008-04-02 Ville Vainio <vivainio@gmail.com> | |
2 |
|
7 | |||
3 | * ipy_winpdb.py: New extension for winpdb integration. %wdb |
|
8 | * ipy_winpdb.py: New extension for winpdb integration. %wdb |
General Comments 0
You need to be logged in to leave comments.
Login now