Message385188
All versions older than 3.10 are in feature freeze and cannot get new features or enhancements, only bugfixes.
Slices are far more general than range objects. How do you propose to deal with slice objects such as this?
slice('item', (23, {'key': 'value'}, 4.5), ('a', 2))
Even for plain integer arguments, the meanings are not the same. Consider the slice:
slice(10, -2) # Start at the 10th item, end at the second-last.
versus the range:
range(10, -2) # Empty range. |
|
Date |
User |
Action |
Args |
2021-01-18 10:55:25 | steven.daprano | set | recipients:
+ steven.daprano, nemeskeyd |
2021-01-18 10:55:25 | steven.daprano | set | messageid: <1610967325.09.0.887570982741.issue42956@roundup.psfhosted.org> |
2021-01-18 10:55:25 | steven.daprano | link | issue42956 messages |
2021-01-18 10:55:25 | steven.daprano | create | |
|