A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2016-December/147055.html below:

[Python-Dev] PySlice_GetIndicesEx annd stable ABI: bikeshedding

[Python-Dev] PySlice_GetIndicesEx annd stable ABI: bikesheddingBrett Cannon brett at python.org
Wed Dec 21 12:34:14 EST 2016
On Wed, 21 Dec 2016 at 06:52 Serhiy Storchaka <storchaka at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20161221/74b3da0e/attachment.html>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4