New-Style-Classes: some questions
Walter Dörwald
walter at livinglogic.de
Tue Mar 12 14:19:32 EST 2002
Tino Lange wrote:
> Hi!
>
> [...]
>
> 1) According to the current documentation
>
> http://www.python.org/doc/current/ref/sequence-methods.html
>
> the special methods __getslice__ and __setslice__ are deprecated and should
> not be implemented anymore (since 2.0) . But they exist automatically in
> the subclassed list and are used for insertion like
>
> newlist[3:4] = 5
>
> - so it seems I have to code/overload these deprecated methods. What's true
> now? Deprecated or not?
See Python Bug #473985
http://sourceforge.net/tracker/?func=detail&aid=473985&group_id=5470&atid=105470
for an explanation.
> [MaxSizedList via XML-RPC]
Bye,
Walter Dörwald
More information about the Python-list
mailing list