[Patches] [ python-Patches-662433 ] Fill arraymodule's tp_iter and sq_contains slots

SourceForge.net noreply@sourceforge.net
Mon, 06 Jan 2003 14:52:15 -0800


Patches item #662433, was opened at 2003-01-04 20:54
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=662433&group_id=5470

Category: Modules
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Raymond Hettinger (rhettinger)
>Assigned to: Christian Tismer (tismer)
Summary: Fill arraymodule's tp_iter and sq_contains slots

Initial Comment:
Small speedup no change in API.

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

Comment By: Guido van Rossum (gvanrossum)
Date: 2003-01-06 10:03

Message:
Logged In: YES 
user_id=6380

I have no time to review this code, but I'm +1 on doing this.

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

Comment By: Raymond Hettinger (rhettinger)
Date: 2003-01-05 15:59

Message:
Logged In: YES 
user_id=80475

New patch has test code and fills both the tp_iter and 
sq_contains slots.  

Matches what we've already done for listobjec, 
tupleobject, and rangeobject to improve their performance.



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

Comment By: Brett Cannon (bcannon)
Date: 2003-01-04 21:43

Message:
Logged In: YES 
user_id=357491

Code looks sound to me.  The  only thing I think it is
missing is tests for the testing suite.

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

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