]> granicus.if.org Git - python/commit
Fix the bug Sjoerd Mullender discovered, where find_from_args() wasn't
authorThomas Wouters <thomas@python.org>
Sun, 20 Aug 2000 14:01:53 +0000 (14:01 +0000)
committerThomas Wouters <thomas@python.org>
Sun, 20 Aug 2000 14:01:53 +0000 (14:01 +0000)
commit0400515ff00493c3b7634cebffaba63a3bf2accd
treea2581a01ed734cb38f71d3382d0cc837d8e8efb6
parent84f28db66a5f4ac86d42250b455fc4a1ca7824e3
Fix the bug Sjoerd Mullender discovered, where find_from_args() wasn't
trying hard enough to find out what the arguments to an import were. There
is no test-case for this bug, yet, but this is what it looked like:

from encodings import cp1006, cp1026
ImportError: cannot import name cp1026

'__import__' was called with only the first name in the 'arguments' list.
Python/ceval.c