]> granicus.if.org Git - python/commit
Fix a curious bug: statements like "import sys.time" would succeed,
authorGuido van Rossum <guido@python.org>
Tue, 19 May 1998 15:09:05 +0000 (15:09 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 19 May 1998 15:09:05 +0000 (15:09 +0000)
commit9c0afe5dc71bb072f7aa471b572799fabda52e40
tree825331800729ecde5fe4bf76c203bbdcdb646d81
parentedde1501272e18e7fa072b851c1f505296a7dc90
Fix a curious bug: statements like "import sys.time" would succeed,
because the path through the code would notice that sys.__path__ did
not exist and it would fall back to the default path (builtins +
sys.path) instead of failing).  No longer.
Python/import.c