[issue38691] [easy] importlib: PYTHONCASEOK should be ignored when using python3 -E

2020-02-18 Thread STINNER Victor


Change by STINNER Victor :


--
pull_requests: +17934
stage: resolved -> patch review
pull_request: https://github.com/python/cpython/pull/18553

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38691] [easy] importlib: PYTHONCASEOK should be ignored when using python3 -E

2020-02-18 Thread STINNER Victor


STINNER Victor  added the comment:

Tests fail on macOS:
https://buildbot.python.org/all/#/builders/275/builds/249

I reopen the issue. The issue should be fixed soon, or the change will be 
reverted to repair buildobts:
https://pythondev.readthedocs.io/ci.html#revert-on-fail

==
FAIL: test_case_insensitivity 
(test.test_importlib.extension.test_case_sensitivity.Frozen_ExtensionModuleCaseSensitivityTest)
--
Traceback (most recent call last):
  File 
"/Users/buildbot/buildarea/3.x.billenstein-macos/build/Lib/test/test_importlib/extension/test_case_sensitivity.py",
 line 36, in test_case_insensitivity
self.assertTrue(hasattr(loader, 'load_module'))
AssertionError: False is not true

==
FAIL: test_case_insensitivity 
(test.test_importlib.extension.test_case_sensitivity.Source_ExtensionModuleCaseSensitivityTest)
--
Traceback (most recent call last):
  File 
"/Users/buildbot/buildarea/3.x.billenstein-macos/build/Lib/test/test_importlib/extension/test_case_sensitivity.py",
 line 36, in test_case_insensitivity
self.assertTrue(hasattr(loader, 'load_module'))
AssertionError: False is not true

==
FAIL: test_insensitive 
(test.test_importlib.source.test_case_sensitivity.Frozen_CaseSensitivityTestPEP302)
--
Traceback (most recent call last):
  File 
"/Users/buildbot/buildarea/3.x.billenstein-macos/build/Lib/test/test_importlib/source/test_case_sensitivity.py",
 line 57, in test_insensitive
self.assertIsNotNone(insensitive)
AssertionError: unexpectedly None

==
FAIL: test_insensitive 
(test.test_importlib.source.test_case_sensitivity.Frozen_CaseSensitivityTestPEP451)
--
Traceback (most recent call last):
  File 
"/Users/buildbot/buildarea/3.x.billenstein-macos/build/Lib/test/test_importlib/source/test_case_sensitivity.py",
 line 57, in test_insensitive
self.assertIsNotNone(insensitive)
AssertionError: unexpectedly None

==
FAIL: test_insensitive 
(test.test_importlib.source.test_case_sensitivity.Source_CaseSensitivityTestPEP302)
--
Traceback (most recent call last):
  File 
"/Users/buildbot/buildarea/3.x.billenstein-macos/build/Lib/test/test_importlib/source/test_case_sensitivity.py",
 line 57, in test_insensitive
self.assertIsNotNone(insensitive)
AssertionError: unexpectedly None

==
FAIL: test_insensitive 
(test.test_importlib.source.test_case_sensitivity.Source_CaseSensitivityTestPEP451)
--
Traceback (most recent call last):
  File 
"/Users/buildbot/buildarea/3.x.billenstein-macos/build/Lib/test/test_importlib/source/test_case_sensitivity.py",
 line 57, in test_insensitive
self.assertIsNotNone(insensitive)
AssertionError: unexpectedly None

--
resolution: fixed -> 
status: closed -> open

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38691] [easy] importlib: PYTHONCASEOK should be ignored when using python3 -E

2020-02-17 Thread STINNER Victor


Change by STINNER Victor :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38691] [easy] importlib: PYTHONCASEOK should be ignored when using python3 -E

2020-02-17 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset d83b6600b25487e4ebffd7949d0f478de9538875 by idomic in branch 
'master':
bpo-38691 Added a switch to ignore PYTHONCASEOK when -E or -I flags passed 
(#18314)
https://github.com/python/cpython/commit/d83b6600b25487e4ebffd7949d0f478de9538875


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38691] [easy] importlib: PYTHONCASEOK should be ignored when using python3 -E

2020-02-03 Thread Dong-hee Na


Dong-hee Na  added the comment:

@Ido Michael
I left review comments for you :)
Thanks for the contribution.

--
nosy: +corona10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38691] [easy] importlib: PYTHONCASEOK should be ignored when using python3 -E

2020-02-02 Thread Ido Michael


Ido Michael  added the comment:

Created this PR: GH-18314

--
nosy: +Ido Michael

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38691] [easy] importlib: PYTHONCASEOK should be ignored when using python3 -E

2020-02-02 Thread Ido Michael


Change by Ido Michael :


--
keywords: +patch
pull_requests: +17690
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/18314

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38691] [easy] importlib: PYTHONCASEOK should be ignored when using python3 -E

2020-01-24 Thread STINNER Victor


STINNER Victor  added the comment:

sys.flags.ignore_environment should be used.

--
keywords: +newcomer friendly
title: importlib: PYTHONCASEOK should be ignored when using python3 -E -> 
[easy] importlib: PYTHONCASEOK should be ignored when using python3 -E

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com