That looks like a simple logic bug in the routine where the assert is failing (should return 1 when detecting None). I'll check in a fix momentarily.
--Guido On 8/23/07, Collin Winter <[EMAIL PROTECTED]> wrote: > On 8/22/07, Gregory P. Smith <[EMAIL PROTECTED]> wrote: > > > > There are currently about 7 failing unit tests left: > > > > > > > > test_bsddb > > > > test_bsddb3 > > ... > > > > fyi these two pass for me on the current py3k branch on ubuntu linux > > and mac os x 10.4.9. > > test_bsddb works for me on Ubuntu, and test_bsddb3 was working for me > yesterday, but now fails with > > python: /home/collinwinter/src/python/py3k/Modules/_bsddb.c:388: > make_dbt: Assertion `((((PyObject*)(obj))->ob_type) == (&PyBytes_Type) > || PyType_IsSubtype((((PyObject*)(obj))->ob_type), (&PyBytes_Type)))' > failed. > > The failure occurs after this line is emitted > > test02_cursors (bsddb.test.test_dbshelve.EnvThreadHashShelveTestCase) ... ok > > Collin Winter > _______________________________________________ > Python-3000 mailing list > Python-3000@python.org > http://mail.python.org/mailman/listinfo/python-3000 > Unsubscribe: > http://mail.python.org/mailman/options/python-3000/guido%40python.org > -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com