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.

作者 meador.inge
收信人 mark.dickinson, meador.inge
日期 2010-04-04.00:38:04
SpamBayes Score 0.01102856
Marked as misclassified
Message-id <1270341487.66.0.0219258682559.issue8300@psf.upfronthosting.co.za>
In-reply-to
内容
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.
历史
日期 用户 动作 参数
2010-04-04 00:38:07meador.inge修改recipients: + meador.inge, mark.dickinson
2010-04-04 00:38:07meador.inge修改messageid: <1270341487.66.0.0219258682559.issue8300@psf.upfronthosting.co.za>
2010-04-04 00:38:06meador.inge链接issue8300 messages
2010-04-04 00:38:06meador.inge创建