]> granicus.if.org Git - python/commit
Use the cwd when the empty string is found in sys.path. This leads to
authorBrett Cannon <brett@python.org>
Wed, 8 Feb 2012 23:52:56 +0000 (18:52 -0500)
committerBrett Cannon <brett@python.org>
Wed, 8 Feb 2012 23:52:56 +0000 (18:52 -0500)
commitb4e63b3177f50d519aeac2f59d38af4503b82d62
treeb94d1946b9b4889ed9d679667afe0a0bc517e819
parent354c26ecd6d1f6341bb1f65ea099d6952a29abd8
Use the cwd when the empty string is found in sys.path. This leads to
__file__ being an absolute path when the module is found in the
current directory.
Lib/importlib/_bootstrap.py
Lib/importlib/test/import_/test_path.py
Misc/NEWS