Message51391
Ah, I missed the default of -1
The refactoring changed how the results of lookup_maybe()s
are used. From the note at the top of lookup_maybe() it
might return NULL and _not_ set an exception. In the old
code it checked for NULL versus PyErr_Occcurred. In the
new code it looks like func will get decrefed if it is NULL
but PyErr_Occurred is not set. I would revert the refactoring
and change only the bits you have to.
[I'll pass on the __len__ thing until I have a chance to
look at it more] |
|
Date |
User |
Action |
Args |
2007-08-23 15:55:24 | admin | link | issue1600346 messages |
2007-08-23 15:55:24 | admin | create | |
|