Created originally on Bitbucket by vincentlegoll (Vincent Legoll)
Changesets for this Pull Request have not been imported, because it had been already declined on Bitbucket. Marked as closed by the import user.
Fix for Issue #2198 + two additional patches
Split into small logical steps, as requested by Ronan
-
Remove stale comment
Ronan Lamy thinks this comment is obsolete (c.f. #2198) Remove it so that newcomers don't start to work on it.
-
Avoid unnecessary work in switch_to_correct_strategy
-
Add an assertion on step being non null in setslice()
-
Remove stale comments in setslice()
-
Move common code outside of conditional
-
Add comment explaining one case
-
Add shotrcut when there's nothing to do: replace empty slice with empty iterable
-
Assign the slice instead of copying elem by elem
-
Handle assigning bigger lists to slice case
-
Remove now unused code
-
Handle assigning same size lists to slice case
-
Factorize delta < 0 and delta == 0 cases with now identical code
-
Handle assigning smaller lists to slice case
-
Factorize common code
-
Describe branch