On 11/3/07, Brett Cannon <[EMAIL PROTECTED]> wrote: > > test_bsddb3 > > The big failure spewing out all of this stuff about an assert in > getGenre() failing is because the code in > Modules/_bsddb.c:_db_associateCallback() uses "y#' to build an > argument tuple when the test expects a bytes type and not a buffer > type. Now I searched in Python/modsupport.c and there is not a single > PyString_*() call in there. What format string are we supposed to use > for PyString/bytes instances? Should we change 'y' from > PyBytes/buffer to PyString/bytes, or add yet another format string?
I think we should change 'y' and 'y#' to use PyString. This seems to fix most of test_bsddb3; I'll have to check how much else it breaks before I check it in. -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
