]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #27083: Respect the PYTHONCASEOK environment variable under
authorBrett Cannon <brett@python.org>
Fri, 15 Jul 2016 18:54:38 +0000 (11:54 -0700)
committerBrett Cannon <brett@python.org>
Fri, 15 Jul 2016 18:54:38 +0000 (11:54 -0700)
commita47a7a5bf88c72d85f322f528381ebfa924072e9
treea2581d2ef9a3909a320df6de9a9134bb91c3f3d1
parentf76457e12203d301c94e33957ff7121a24856b83
Issue #27083: Respect the PYTHONCASEOK environment variable under
Windows.

Originally only b'PYTHONCASEOK' was being checked for in os.environ,
but that won't work under Windows where all environment variables are
strings (on OS X they are bytes).

Thanks to Eryk Sun for the bug report.
Lib/importlib/_bootstrap_external.py
Lib/test/test_importlib/source/test_case_sensitivity.py
Misc/NEWS