On Wed, 21 Dec 2016 at 06:52 Serhiy Storchaka <storch...@gmail.com> wrote:

> [SNIP]
> Let's start bikeshedding. What are your ideas about names and the order
> of arguments of two following functions?
>
> 1. Takes a slice object, returns it's start, stop and step as Py_ssize_t
> values. Can fail.
>

start, stop, step


>
> 2. Takes slice's start, stop, step, and the length of the sequence (all
> are Py_ssize_t), returns adjusted start, stop, and the length of sliced
> subsequence (as Py_ssize_t). Always success.
>

length, start, stop, step

No specific ideas on names.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to