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.

作者 josh.r
收信人 bdkearns, belopolsky, josh.r, lemburg, tim.peters
日期 2014-03-06.22:17:29
SpamBayes Score -1.0
Marked as misclassified
Message-id <1394144249.52.0.442293261361.issue20858@psf.upfronthosting.co.za>
In-reply-to
内容
_check_int_field seems needlessly complex. When you want a value that is logically an integer (not merely capable of being coerced to an integer), you want object.__index__, per PEP 357, or to avoid explicit calls to special methods, use operator.index. Any reason to not just use operator.index directly?
历史
日期 用户 动作 参数
2014-03-06 22:17:29josh.r修改recipients: + josh.r, lemburg, tim.peters, belopolsky, bdkearns
2014-03-06 22:17:29josh.r修改messageid: <1394144249.52.0.442293261361.issue20858@psf.upfronthosting.co.za>
2014-03-06 22:17:29josh.r链接issue20858 messages
2014-03-06 22:17:29josh.r创建