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

noreply@sourceforge.net noreply@sourceforge.net
Mon, 05 Aug 2002 10:35:07 -0700


Feature Requests item #591207, was opened at 2002-08-05 19: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: Open
Resolution: None
Priority: 5
Submitted By: Jürgen A. Erhard (jae)
Assigned to: Nobody/Anonymous (nobody)
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)

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

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