[Patches] [ python-Patches-1212928 ] new patch for fixing skipitem() in getargs.c
SourceForge.net
noreply at sourceforge.net
Wed Sep 14 21:32:06 CEST 2005
Patches item #1212928, was opened at 2005-06-01 20:21
Message generated for change (Comment added) made by birkenfeld
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1212928&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core (C code)
Group: Python 2.4
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Reinhold Birkenfeld (birkenfeld)
>Assigned to: Reinhold Birkenfeld (birkenfeld)
Summary: new patch for fixing skipitem() in getargs.c
Initial Comment:
This patch subsumes #985713 and #853890.
In Python/getargs.c, the function skipitem() has not
been updated with new argument format codes, such as u,
u#, w, w# etc. This is corrected with this patch.
There are two possibilities: either all new codes are
added to the switch statement (this is the file
getargs-skipitem-diff), or the function is rewritten so
that there is no need for a switch (because the pointer
type for va_arg is irrelevant). That solution is in the
file new_skipitem.c.
Remaining issue: I don't know if the '(...)' formatting
code should be handled here.
----------------------------------------------------------------------
>Comment By: Reinhold Birkenfeld (birkenfeld)
Date: 2005-09-14 21:32
Message:
Logged In: YES
user_id=1188172
I used a hybrid solution now. The checking for invalid
characters remains, but the type argument is irrelevant.
Python/getargs.c r2.107 and r2.102.2.4.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1212928&group_id=5470
More information about the Patches
mailing list