Message212846
_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? |
|
Date |
User |
Action |
Args |
2014-03-06 22:17:29 | josh.r | set | recipients:
+ josh.r, lemburg, tim.peters, belopolsky, bdkearns |
2014-03-06 22:17:29 | josh.r | set | messageid: <1394144249.52.0.442293261361.issue20858@psf.upfronthosting.co.za> |
2014-03-06 22:17:29 | josh.r | link | issue20858 messages |
2014-03-06 22:17:29 | josh.r | create | |
|