[issue1384] Windows fix for inspect tests

2007-11-06 Thread Christian Heimes
Christian Heimes added the comment: Applied to py3k in r58875. I'm doing a svnmerge later. Thanks again for your help, pal! -- components: +Windows resolution: -> fixed status: open -> closed __ Tracker <[EMAIL PROTECTED]>

[issue1384] Windows fix for inspect tests

2007-11-05 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Yes, the patch is needed. The problem arises when you run the python executable in different ways WITHOUT deleting the .pyc files. Example on my machine: Note that the exact path to run python is not the same: >cd C:\dev\python\py3k\PCbuild8 >del /s ..\*.

[issue1384] Windows fix for inspect tests

2007-11-05 Thread Christian Heimes
Christian Heimes added the comment: Ah, os.path has a method for the job. I should have checked the module before reinventing the wheel ... For some unknown and mysterious reasons the inspect tests are passing again on my machine. I've purged the pyc files before I run the unpatched test suite.

[issue1384] Windows fix for inspect tests

2007-11-05 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: A slightly modified patch, which uses os.path.normcase before comparing file names. -- nosy: +amaury.forgeotdarc Added file: http://bugs.python.org/file8700/py3k_inspect_2.diff __ Tracker <[EMAIL PROTECTED]>

[issue1384] Windows fix for inspect tests

2007-11-05 Thread Guido van Rossum
Guido van Rossum added the comment: Shouldn't this use os.path.normcase() instead of testing for nt and using lower()? -- nosy: +gvanrossum __ Tracker <[EMAIL PROTECTED]> __ __

[issue1384] Windows fix for inspect tests

2007-11-04 Thread Christian Heimes
New submission from Christian Heimes: The patch lower()s the file names on Windows. The tests break on my system because C:\\... != c:\\... -- files: py3k_inspect.patch keywords: patch, py3k messages: 57105 nosy: tiran severity: normal status: open title: Windows fix for inspect tests ve