mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Revert "bpo-38691 Added a switch to ignore PYTHONCASEOK when -E or -I flags passed (#18314)" (GH-18553)
This reverts commit d83b6600b2
.
This commit is contained in:
parent
ab6423fe2d
commit
4dee92b0ad
5 changed files with 2647 additions and 2658 deletions
|
@ -35,7 +35,7 @@ def _make_relax_case():
|
|||
|
||||
def _relax_case():
|
||||
"""True if filenames must be checked case-insensitively."""
|
||||
return not sys.flags.ignore_environment and key in _os.environ
|
||||
return key 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