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-July/005970.html below:

[Python-Dev] non-integer arguments to simple slices in 1.6?

[Python-Dev] non-integer arguments to simple slices in 1.6?Moshe Zadka Moshe Zadka <moshez@math.huji.ac.il>
Mon, 10 Jul 2000 15:52:58 +0300 (IDT)
On Mon, 10 Jul 2000, Guido van Rossum wrote:

> I got the following email from Scott Johnston which suggests an
> interesting idea (for 2.0, of course, as that's what we're all working
> on now).  basically, Scott proposes to deprecate __getslice__ (and its
> friends, __setslice__ and __delslice__) in favor of passing the slice
> arguments unadorned to __getitem__  if __getslice__ is not defined.
> 
> On the surface, this seems reasonable to me, except that it doesn't
> help for extension classes...

+1. Solving extension classes can be done similarily to the way "in" is
solved.
--
Moshe Zadka <moshez@math.huji.ac.il>
There is no GOD but Python, and HTTP is its prophet.
http://advogato.org/person/moshez




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