mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Merge for #27083
This commit is contained in:
commit
b3e73b30ff
4 changed files with 2357 additions and 2349 deletions
|
@ -29,7 +29,8 @@ def _make_relax_case():
|
|||
if sys.platform.startswith(_CASE_INSENSITIVE_PLATFORMS):
|
||||
def _relax_case():
|
||||
"""True if filenames must be checked case-insensitively."""
|
||||
return b'PYTHONCASEOK' in _os.environ
|
||||
return (b'PYTHONCASEOK' in _os.environ
|
||||
or '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