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 <>
Python-bugs-list mailing list

Reply via email to