[Python-bugs-list] [ python-Feature Requests-591207 ] list objects should accept slice indices

noreply@sourceforge.net noreply@sourceforge.net
Tue, 06 Aug 2002 01:35:28 -0700


Feature Requests item #591207, was opened at 2002-08-05 17:35
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=591207&group_id=5470

Category: Python Interpreter Core
Group: None
>Status: Closed
>Resolution: Out of Date
Priority: 5
Submitted By: Jürgen A. Erhard (jae)
>Assigned to: Michael Hudson (mwh)
Summary: list objects should accept slice indices

Initial Comment:
List objects should accept slice objects has index values.  Just what user-written classes do.  Both built-in classes and user-written classes should behave the same way.  (And when my __getitem__ method receives a slice as argument, I'd like to pass it directly to some embedded list object if possible, without further massaging)

----------------------------------------------------------------------

>Comment By: Michael Hudson (mwh)
Date: 2002-08-06 08:35

Message:
Logged In: YES 
user_id=6656

This is already implemented in current CVS.

I want a time machine too!


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=591207&group_id=5470