[Python-Dev] cygwin errors (original) (raw)
Tim Peters tim.one@comcast.net
Thu, 17 Jul 2003 23:37:24 -0400
- Previous message: [Python-Dev] cygwin errors
- Next message: [Python-Dev] cygwin errors
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[Skip Montanaro]
[ failures in testtime, teststrptime, testlogging ] ... I've been unable to reproduce any of this on Mac OS X. I built --with-pydebug, tried those combinations you indicated as well as three regrtest -r runs (one with -uall), but saw nothing.
Jeremy saw the problem on Linux too, and checked in a locale hack that may or may not be appropriate.
We're not going to do a release tonight. Partly because of this thing, but mostly because we want to give Jason a chance to stare at the Cygwin problems. Jeremy points out (correctly) that if we expect to make changes in order to repair the Cygwin woes, there's no real sense in which we could call what we have now a "release candidate".
I then returned to my build.O6 directory (OPT=-O6, -DNDEBUG), rebuilt and tried again.
During the -r -uall -O6 run I got some assertion errors in the bsddb3 thread stuff: Exception in thread writer 0: Traceback (most recent call last): File "/Users/skip/src/python/head/dist/src/Lib/threading.py", _line 436, in bootstrap self.run() File "/Users/skip/src/python/head/dist/src/Lib/threading.py", line 416, in run _self._target(*self._args, **self.kwargs) File "/Users/skip/src/python/head/dist/src/Lib/bsddb/test/testthread.py" , line 254, in writerThread self.assertEqual(data, self.makeData(key)) File "/Users/skip/src/python/head/dist/src/Lib/unittest.py", line 292, in failUnlessEqual _raise self.failureException, _ AssertionError: None != '0002-0002-0002-0002-0002'
So what's the problem? None isn't equal to any big string, let alone one with a stuttering disability .
OK, I note that writerThread() doesn't do the same thing each time it's run: it branches in two places based on the values random() returns. So it's not obvious to me whether it always should pass.
During both -r -uall runs (debug and non-debug builds) I got a warning during the bsddb3 tests:
/Users/skip/src/python/head/dist/src/Lib/bsddb/dbutils.py:67: RuntimeWarning: DBINCOMPLETE: Cache flush was unable to complete return function(*args, **kwargs)
I stopped worrying about warnings from test_bsddb3 -- but am not sure I should have.
If the problem is with the locale code, Mac OS X is the wrong place to debug the problem as its locale support is apparently minimal:
testlocale skipped -- Locale support on MacOSX is minimal and cannot be tested I'll try some more cygwin tests tomorrow, though those failures looked a lot different than what you're seeing.
Yes, very, and I'm much more worried about them, especially to the extent they smell like wild-store kinda things.
- Previous message: [Python-Dev] cygwin errors
- Next message: [Python-Dev] cygwin errors
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]