Why is __getslice__ still implemented?

Torsten Bronger bronger at physik.rwth-aachen.de
Tue Apr 10 19:08:12 CEST 2007


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



Torsten Bronger, aquisgrana, europa vetus
                                      Jabber ID: bronger at jabber.org
                      (See http://ime.webhop.org for ICQ, MSN, etc.)

More information about the Python-list mailing list