Message51390
> There used to be a "result = -1;"
result is initialized to -1 at the beginning of the function
> did you mean to reindent the long_as_number struct in longobject.c?
i realigned the struct with tab of 4, where it used to be tabs of 8,
so things got messed up a little. i tried my best to fix it, but
i can't fix what i can't see :)
> bool5.patch removes the check for int for the __len__() result as this is
> already done in the __len__() call itself
no it's not! we are not using PyObject_Len, we directly invoke __len__,
which may return anything it wishes. you can't skip that check.
|
|
Date |
User |
Action |
Args |
2007-08-23 15:55:24 | admin | link | issue1600346 messages |
2007-08-23 15:55:24 | admin | create | |
|