Rationale behind the deprecation of __getslice__?
Carl Banks
imbosol at aerojockey.com
Thu Dec 9 21:31:59 EST 2004
Terry Reedy wrote:
> The overwhelmingl most common case of a simple slice is more
efficiently
> 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.
--
CARL BANKS
More information about the Python-list
mailing list