mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +00:00
Issue #16826: Revert fix while Windows issues are being worked out.
This commit is contained in:
commit
3c56145638
5 changed files with 3135 additions and 3212 deletions
|
@ -29,10 +29,7 @@ def _make_relax_case():
|
|||
if sys.platform.startswith(_CASE_INSENSITIVE_PLATFORMS):
|
||||
def _relax_case():
|
||||
"""True if filenames must be checked case-insensitively."""
|
||||
if sys.flags.ignore_environment:
|
||||
return False
|
||||
else:
|
||||
return b'PYTHONCASEOK' in _os.environ
|
||||
return b'PYTHONCASEOK' in _os.environ
|
||||
else:
|
||||
def _relax_case():
|
||||
"""True if filenames must be checked case-insensitively."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue