Message102311
I may be missing something subtle, but how can 'PyNumber_Index(v) != NULL' *and* '!PyInt_Check(v) && !PyLong_Check(v)' both be satisfied in the 'get_pylong' mods? It seems to me that 'PyNumber_Index' only returns non-NULL when the object being returned is an 'int' or 'long'.
Attached a patch with the extra check removed and a few more test cases. |
|
Date |
User |
Action |
Args |
2010-04-04 00:38:07 | meador.inge | set | recipients:
+ meador.inge, mark.dickinson |
2010-04-04 00:38:07 | meador.inge | set | messageid: <1270341487.66.0.0219258682559.issue8300@psf.upfronthosting.co.za> |
2010-04-04 00:38:06 | meador.inge | link | issue8300 messages |
2010-04-04 00:38:06 | meador.inge | create | |
|