[issue16451] Remove duplication between slice_indices and compute_slice_indices

2012-11-17 Thread Mark Dickinson
Changes by Mark Dickinson : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue16451] Remove duplication between slice_indices and compute_slice_indices

2012-11-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset e9af9b1ca67e by Mark Dickinson in branch 'default': Issue #16451: Refactor to remove duplication between range and slice in slice index computations. http://hg.python.org/cpython/rev/e9af9b1ca67e -- nosy: +python-dev __

[issue16451] Remove duplication between slice_indices and compute_slice_indices

2012-11-12 Thread Mark Dickinson
Mark Dickinson added the comment: Patch attached. -- keywords: +patch Added file: http://bugs.python.org/file27973/issue16451.patch ___ Python tracker ___ ___

[issue16451] Remove duplication between slice_indices and compute_slice_indices

2012-11-11 Thread Mark Dickinson
Changes by Mark Dickinson : -- assignee: -> mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue16451] Remove duplication between slice_indices and compute_slice_indices

2012-11-10 Thread Mark Dickinson
Changes by Mark Dickinson : -- nosy: +serhiy.storchaka stage: -> needs patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue16451] Remove duplication between slice_indices and compute_slice_indices

2012-11-10 Thread Mark Dickinson
New submission from Mark Dickinson: (From #14794 ...) compute_slice_indices in Objects/rangeobject.c and slice_indices in Objects/sliceobject.c implement essentially the same algorithm. It would be nice to refactor to avoid the repetition. -- messages: 175281 nosy: mark.dickinson pri