[Patches] [ python-Patches-552167 ] Tuple iterator type
noreply@sourceforge.net
noreply@sourceforge.net
Sat, 04 May 2002 06:36:17 -0700
Patches item #552167, was opened at 2002-05-04 05:54
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=552167&group_id=5470
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Raymond Hettinger (rhettinger)
Assigned to: Nobody/Anonymous (nobody)
Summary: Tuple iterator type
Initial Comment:
Created a tuple iterator type modelled after the
dictionary iterator type. Added the new type to the
tp_iter slot of tuple.
Optimizes list conversion and looping access by 19%
over the current method of tapping the sq_item slot
with an iterobject.
External interface unchanged. No doc changes needed.
Tests okay with Lib/tests/test_builtin.py.
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2002-05-04 15:36
Message:
Logged In: YES
user_id=21627
I think this object needs to participate in GC.
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=552167&group_id=5470