[Patches] [ python-Patches-659536 ] Use PyArg_UnpackTuple where possible

noreply@sourceforge.net noreply@sourceforge.net
Sun, 29 Dec 2002 00:08:08 -0800


Patches item #659536, was opened at 2002-12-29 01:46
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=659536&group_id=5470

Category: None
Group: None
Status: Open
Resolution: Accepted
Priority: 5
Submitted By: Raymond Hettinger (rhettinger)
Assigned to: Raymond Hettinger (rhettinger)
Summary: Use PyArg_UnpackTuple where possible

Initial Comment:
Obtain cleaner coding and a system wide 
performance boost by using the fast, pre-parsed 
PyArg_Unpack function instead of PyArg_ParseTuple 
function which is driven by a format string.

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

>Comment By: Martin v. Löwis (loewis)
Date: 2002-12-29 09:08

Message:
Logged In: YES 
user_id=21627

One more change: Please try to report the correct function
name for min/max, using ?:.

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

Comment By: Martin v. Löwis (loewis)
Date: 2002-12-29 09:00

Message:
Logged In: YES 
user_id=21627

The changes to spam* are non-sensical: there is no point in
concatenating the empty string with #OP, just remove the
empty string.

Apart from this, the patch is fine.

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

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