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/2000-February/002221.html below:

[Python-Dev] non-integer slice indices?

[Python-Dev] non-integer slice indices?Greg Stein gstein@lyra.org
Mon, 14 Feb 2000 16:34:12 -0800 (PST)
On Mon, 14 Feb 2000, Barry A. Warsaw wrote:
> >>>>> "GS" == Greg Stein <gstein@lyra.org> writes:
>     GS> Typically, CPython is the reference platform. This would
>     GS> indicate that JPython has a bug.
> 
>     GS> Second, section 5.3.3 of the Language Reference states that
>     GS> the upper and lower bound of a slice must be integers. Again,
>     GS> this would indicate that JPython has a bug.
> 
> I think instead you have a case where JimH was (not-so?)subtly trying
> to push Guido in a certain direction. :)

Yah... :-)

Guido always reserves the right to change the language definition. At the
moment, though, it is integers only (if you want to be portable across
Python implementations).

As MarkH would say: I'm not fussed about it.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/




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