This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
| Author | trent |
|---|---|
| Recipients | benjamin.peterson, loewis, trent |
| Date | 2008年04月10日.22:06:36 |
| SpamBayes Score | 0.019203717 |
| Marked as misclassified | No |
| Message-id | <1207865197.33.0.132366627443.issue2440@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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, |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年04月10日 22:06:37 | trent | set | spambayes_score: 0.0192037 -> 0.019203717 recipients: + trent, loewis, benjamin.peterson |
| 2008年04月10日 22:06:37 | trent | set | spambayes_score: 0.0192037 -> 0.0192037 messageid: <1207865197.33.0.132366627443.issue2440@psf.upfronthosting.co.za> |
| 2008年04月10日 22:06:36 | trent | link | issue2440 messages |
| 2008年04月10日 22:06:36 | trent | create | |