Why is __getslice__ still implemented?

Steven Bethard steven.bethard at gmail.com
Tue Apr 10 19:29:50 CEST 2007


Torsten Bronger wrote:
> Hallöchen!
> 
> Steven Bethard writes:
> 
>> Torsten Bronger wrote:
>>
>>> [...]
>>>
>>> [...]  It forces people to implement a deprecated function after
>>> all.  I think the docs should say that you still have to override
>>> __getslice__ when subclassing from a built-in type, unless I
>>> really don't understand the issue correctly.
>> [...] If you have a specific suggestion for what doc should be
>> updated and how, that would be helpful. Please post it to:
>>
>>     http://sourceforge.net/tracker/?group_id=5470&atid=105470
> 
> Done.

Thanks!

STeVe



More information about the Python-list mailing list