diff options
author | Guido van Rossum <guido@python.org> | 1997-09-07 06:16:57 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-09-07 06:16:57 (GMT) |
commit | 0c81945808a4696054052169d6a23012b478fb01 (patch) | |
tree | 13a17022e48c68db2ed382e5e93af973aa895361 /Python | |
parent | 10887a3067c4755f0bcbcf4b049ba1df513ed4ce (diff) | |
download | cpython-0c81945808a4696054052169d6a23012b478fb01.zip cpython-0c81945808a4696054052169d6a23012b478fb01.tar.gz cpython-0c81945808a4696054052169d6a23012b478fb01.tar.bz2 |
Bugfix: import A.B from inside package was busted by mark_miss optimization.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/import.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/import.c b/Python/import.c index a53abae..95e5aa9 100644 --- a/Python/import.c +++ b/Python/import.c @@ -1170,7 +1170,7 @@ load_next(mod, altmod, p_name, buf, p_buflen) if (result == Py_None && altmod != mod) { Py_DECREF(result); /* Here, altmod must be None and mod must not be None */ - result = import_submodule(altmod, name, name); + result = import_submodule(altmod, p, p); if (result != NULL && result != Py_None) { if (mark_miss(buf) != 0) { Py_DECREF(result); |