[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-04 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Any idea where this path comes from? I can go spelunking through the code myself to investigate. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8586

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-04 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Ok, so the cause of the bug is 'simple' - not sure what the best fix is. When I run python from a freshly built py3k I have the following as sys.path: ['', '/dev/null/lib/python32.zip', '/compile/python-trunk3/Lib',

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-04 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: Maybe you just want to relax the test in the except clause of test.support.unlink()? Or change the test to if error.errno not in (errno.ENOENT, errno.ENOTDIR) ? -- ___ Python tracker

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-04 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: On trunk the definition of unlink is: def unlink(filename): try: os.unlink(filename) except OSError: pass :-) Changing it as you suggest fixes the problem though. Ok to commit? --

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-04 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: +1 -- assignee: barry - michael.foord resolution: works for me - accepted ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8586 ___

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-04 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Committed revision 80771. -- assignee: michael.foord - barry resolution: accepted - works for me stage: needs patch - committed/rejected status: open - closed ___ Python tracker

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-03 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: I'm seeing a similar (but not identical) failure on py3k / Windows 7 in test_marshal. Failure in the same code path in support.py: == ERROR: test_floats

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-03 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: This is basically issue 7743 which is a combination of: * Using the same filename for all tests in one process * Something (TSvn / Virus Checker) having a delete-share handle * Not renaming the file before removing it in test.support.unlink

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-03 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: Surely not bug 7743 Additional potential string - float conversion issues. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8586 ___

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-03 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: Sorry, typing too fast: http://bugs.python.org/issue7443 - test.support.unlink issue on Windows platform at least insofar as the issue applies to Windows. I imagine that the OS X thingis completely different. --

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-03 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: I cannot reproduce this on my 10.6.3 machine either running the full test suite, or running: ./python.exe Lib/test/test_imp.py ./python.exe -m unittest test.test_imp -- resolution: - works for me

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-03 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Hmm... happens reliably for me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8586 ___

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-03 Thread Barry A. Warsaw
Barry A. Warsaw ba...@python.org added the comment: How odd. I'm on r80727 in py3k. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8586 ___ ___

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-01 Thread Michael Foord
New submission from Michael Foord mich...@voidspace.org.uk: I get the following failure running test_imp on py3k, Mac OS X 10.6.3. == ERROR: test_package___file__ (__main__.PEP3147Tests)

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-01 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: I see similar failures (failing to unlink weird paths from support.py) in: test_imp.py, test_import.py, test_pydoc.py, test_runpy.py, -- ___ Python tracker rep...@bugs.python.org

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-01 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: So I'm assuming issue 8587 (same failure in test_import.py) is a duplicate of this. I'll close 8587. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8586

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-01 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: - barry components: +Tests nosy: +barry stage: unit test needed - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8586 ___

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-01 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- assignee: barry - nosy: +ezio.melotti, flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8586 ___

[issue8586] test_imp.py test failures on Py3K Mac OS X

2010-05-01 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- assignee: - barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8586 ___ ___