[New-bugs-announce] [issue16451] Remove duplication between slice_indices and compute_slice_indices

Mark Dickinson report at bugs.python.org
Sat Nov 10 15:57:31 CET 2012


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
priority: normal
severity: normal
status: open
title: Remove duplication between slice_indices and compute_slice_indices
type: enhancement
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16451>
_______________________________________


More information about the New-bugs-announce mailing list