Rationale behind the deprecation of __getslice__?

Carl Banks imbosol at aerojockey.com
Fri Dec 10 03:31:59 CET 2004

Terry Reedy wrote:
> The overwhelmingl most common case of a simple slice is more
> done by having a separate function since no slice object is created.

Why is __getslice__ deprecated, then?  I'm ok with keeping __getslice__
around as an optimization, but if you do that, I don't think it's a
good idea to deprecate it.


More information about the Python-list mailing list