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 josh.r
Recipients bdkearns, belopolsky, josh.r, lemburg, tim.peters
Date 2014-03-06.22:17:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1394144249.52.0.442293261361.issue20858@psf.upfronthosting.co.za>
In-reply-to
Content
_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?
History
Date User Action Args
2014-03-06 22:17:29josh.rsetrecipients: + josh.r, lemburg, tim.peters, belopolsky, bdkearns
2014-03-06 22:17:29josh.rsetmessageid: <1394144249.52.0.442293261361.issue20858@psf.upfronthosting.co.za>
2014-03-06 22:17:29josh.rlinkissue20858 messages
2014-03-06 22:17:29josh.rcreate