Message80737
I haven't been able to find any of the patches listed in the comments,
but it does look like providing a nb_nonzero method in the module would
solve our issue. PyObject_IsTrue checks the tp_as_number methods before
the sequence and mapping methods. I'm not sure if it's safe to count on
this behavior as always being true, but for 2.4 and the dbmmodule, it
would work. |
|
Date |
User |
Action |
Args |
2009-01-29 01:24:15 | johansen | set | recipients:
+ johansen, gvanrossum, jafo, jcea |
2009-01-29 01:24:15 | johansen | set | messageid: <1233192255.84.0.660493233973.issue2159@psf.upfronthosting.co.za> |
2009-01-29 01:24:14 | johansen | link | issue2159 messages |
2009-01-29 01:24:13 | johansen | create | |
|