Message192150
I don't think that a reordered idx < 0 check is going to make any measurable difference. I like the separate checks as they make the code easier to understand. The first check tests for error in PyLong_AsSsize_t() and the second one checks for positive integers. |
|
Date |
User |
Action |
Args |
2013-07-01 21:16:42 | christian.heimes | set | recipients:
+ christian.heimes, python-dev, serhiy.storchaka |
2013-07-01 21:16:42 | christian.heimes | set | messageid: <1372713402.65.0.380778858407.issue18339@psf.upfronthosting.co.za> |
2013-07-01 21:16:42 | christian.heimes | link | issue18339 messages |
2013-07-01 21:16:42 | christian.heimes | create | |
|