Message212846
| 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: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 |
|