Trent Nelson <[EMAIL PROTECTED]> added the comment: Eek, so it does, thanks. Applied the following patch on a bunch of 32- bit/x64 systems, testing now, so far everything looks good...
Index: abstract.c =================================================================== --- abstract.c (revision 62279) +++ abstract.c (working copy) @@ -1240,7 +1240,7 @@ return NULL; } } - else if (m && m->nb_int != NULL) { + else if (m && m->nb_int != NULL && m->nb_float == NULL) { result = m->nb_int(item); if (result && !PyLong_Check(result)) { PyErr_Format(PyExc_TypeError, __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2440> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com