[issue13890] test_importlib failures under Windows

2012-01-30 Thread Brett Cannon
Changes by Brett Cannon : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue13890] test_importlib failures under Windows

2012-01-30 Thread Roundup Robot
Roundup Robot 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 -- ___ Python tracker

[issue13890] test_importlib failures under Windows

2012-01-30 Thread Roundup Robot
Roundup Robot 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 ___ Python t

[issue13890] test_importlib failures under Windows

2012-01-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think it's more laziness. _Environ.__setitem__ could also update the original mapping. -- nosy: +haypo ___ Python tracker ___ __

[issue13890] test_importlib failures under Windows

2012-01-29 Thread Brett Cannon
Brett Cannon 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. > > -- >

[issue13890] test_importlib failures under Windows

2012-01-27 Thread Antoine Pitrou
Antoine Pitrou 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 "", line 1, in KeyError: 'PYTHONCASEOK' >>> nt.environ[b'PYTHONCASEOK'] Traceback (most recent

[issue13890] test_importlib failures under Windows

2012-01-27 Thread Brett Cannon
Brett Cannon 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 _

[issue13890] test_importlib failures under Windows

2012-01-27 Thread Brett Cannon
Brett Cannon 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 sets PYTHONCASEOK

[issue13890] test_importlib failures under Windows

2012-01-27 Thread Antoine Pitrou
New submission from Antoine Pitrou : 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 (importlib.test.extension.test_case_sensitivity.Extensio