[Python-checkins] r46688 - python/trunk/Modules/_bsddb.c
Tim Peters
tim.peters at gmail.com
Tue Jun 6 17:40:39 CEST 2006
> Author: neal.norwitz
> Date: Tue Jun 6 09:23:01 2006
> New Revision: 46688
>
> Modified:
> python/trunk/Modules/_bsddb.c
> Log:
> Fix a bunch of parameter strings
>
> Modified: python/trunk/Modules/_bsddb.c
> ==============================================================================
> --- python/trunk/Modules/_bsddb.c (original)
> +++ python/trunk/Modules/_bsddb.c Tue Jun 6 09:23:01 2006
...
> @@ -5012,7 +5012,7 @@
> {
> int err;
> db_seq_t min, max;
> - if (!PyArg_ParseTuple(args,"(LL):set_range", &min, &max))
> + if (!PyArg_ParseTuple(args,"LL:set_range", &min, &max))
> return NULL;
> CHECK_SEQUENCE_NOT_CLOSED(self)
That change appears to account for why test_bsddb3 is failing now on
the buildbot slaves that run that test, like
test test_bsddb3 failed -- Traceback (most recent call last):
File "/home/pybot/buildarea/trunk.klose-ubuntu-hppa/build/Lib/bsddb/test/test_sequence.py",
line 91, in test_range
self.assertEquals(None, self.seq.set_range(seq_range))
TypeError: set_range() takes exactly 2 arguments (1 given)
So I'm going to change that back.
More information about the Python-checkins
mailing list