Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 54d7823ec488 by Brett Cannon in branch 'default':
Issue #13890: Fix importlib case-sensitivity tests to not run on Windows.
http://hg.python.org/cpython/rev/54d7823ec488
--
nosy: +python-dev
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 2914ce82bf89 by Brett Cannon in branch 'default':
Issue #13890: Also fix for extension module tests for case-insensitivity.
http://hg.python.org/cpython/rev/2914ce82bf89
--
Changes by Brett Cannon br...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13890
___
Brett Cannon br...@python.org added the comment:
Is there a technological reason environ is not updated, or is it simply
oversight?
Lib/os.py: under POXIX, os.environ reflects posix.environ (it uses the same
underlying dict), while under Windows, os.environ uses a distinct dict from
nt.environ.
Antoine Pitrou pit...@free.fr added the comment:
I think it's more laziness. _Environ.__setitem__ could also update the original
mapping.
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13890
New submission from Antoine Pitrou pit...@free.fr:
I don't know if these are related to the latest changes, but they only appear
on the 3.3 buildbots:
==
FAIL: test_case_insensitivity
Brett Cannon br...@python.org added the comment:
I was getting that error the other day on my OS X laptop, but then I thought I
tweaked the code well enough to solve it (since I am running on a
case-insensitive filesystem as well). It seems to stem from what nt.environ
contains when the test
Brett Cannon br...@python.org added the comment:
Otherwise it's the nt.listdir() comparison that's failing. Probably should
check that is returning reasonable stuff as well.
--
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
Well apparently nt.environ doesn't reflect os.environ:
os.environ['PYTHONCASEOK'] = '1'
nt.environ['PYTHONCASEOK']
Traceback (most recent call last):
File stdin, line 1, in module
KeyError: 'PYTHONCASEOK'
nt.environ[b'PYTHONCASEOK']