This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: new patch for fixing skipitem() in getargs.c
Type: Stage:
Components: Interpreter Core Versions: Python 2.4
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, georg.brandl
Priority: normal Keywords: patch

Created on 2005-06-01 18:21 by georg.brandl, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
getargs-skipitem-diff georg.brandl, 2005-06-01 18:21 Diff to complete switch stmt
new-skipitem.c georg.brandl, 2005-06-01 18:23 whole new skipitem() impl
Messages (2)
msg48417 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2005-06-01 18:21
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.
msg48418 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2005-09-14 19:32
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.
History
Date User Action Args
2022-04-11 14:56:11adminsetgithub: 42044
2005-06-01 18:21:54birkenfeldcreate