backport jhylton's checkin of
revision 2.97 of abstract.c Fix for SF bug 516727: MyInt(2) + "3" -> NotImplemented PyNumber_Add() tries the nb_add slot first, then falls back to sq_concat. However, it didn't check the return value of sq_concat. If sq_concat returns NotImplemented, raise the standard TypeError.
Showing
Please
register
or
sign in
to comment