Message278491
Serhiy Storchaka: "I opened this issue because this optimization already was applied to deque (issue23553)"
Ah, change 1e89094998b2 written by Raymond Hettinger last year, Raymond who wrote (msg278397): "Don't change the code in the collections module. While semantically valid, the change obfuscates the code." :-)
To stay consistent, I suggest to revert the useless micro-optimization 1e89094998b2. Python uses Py_ssize_t instead of size_t to support "i >= 0" checks", it's a deliberate choice to catch bugs. |
|
Date |
User |
Action |
Args |
2016-10-11 14:39:06 | vstinner | set | recipients:
+ vstinner, rhettinger, skrah, socketpair, serhiy.storchaka |
2016-10-11 14:39:06 | vstinner | set | messageid: <1476196746.69.0.533494262954.issue28397@psf.upfronthosting.co.za> |
2016-10-11 14:39:06 | vstinner | link | issue28397 messages |
2016-10-11 14:39:06 | vstinner | create | |
|