Author meador.inge
Recipients mark.dickinson, meador.inge
Date 2010-04-04.00:38:04
SpamBayes Score 0.0110286
Marked as misclassified No
Message-id <1270341487.66.0.0219258682559.issue8300@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-04-04 00:38:07meador.ingesetrecipients: + meador.inge, mark.dickinson
2010-04-04 00:38:07meador.ingesetmessageid: <1270341487.66.0.0219258682559.issue8300@psf.upfronthosting.co.za>
2010-04-04 00:38:06meador.ingelinkissue8300 messages
2010-04-04 00:38:06meador.ingecreate