[ python-Bugs-1264168 ] PyArg_ParseTupleAndKeywords doesn't handle I format correctl

SourceForge.net noreply at sourceforge.net
Fri Aug 19 20:48:15 CEST 2005


Bugs item #1264168, was opened at 2005-08-19 19:31
Message generated for change (Comment added) made by birkenfeld
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1264168&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: Python Interpreter Core
Group: None
Status: Closed
Resolution: Duplicate
Priority: 5
Submitted By: John Finlay (finlay648)
Assigned to: Nobody/Anonymous (nobody)
Summary: PyArg_ParseTupleAndKeywords doesn't handle I format correctl

Initial Comment:
PyArg_ParseTupleAndKeywords fails with the message;
"...impossible<bad format char>"
when parsing an optional keyword param using "I" format.

Using Python 2.3.5 but also observed in Python 2.4.x

The problem is a missing "I" handler in the skipitem
function.

I've attached a proposed patch.

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

>Comment By: Reinhold Birkenfeld (birkenfeld)
Date: 2005-08-19 20:48

Message:
Logged In: YES 
user_id=1188172

Either order the bugs in SF by ID, or use an URL of the form

http://www.python.org/sf/<bug number>

(number without '#')

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

Comment By: John Finlay (finlay648)
Date: 2005-08-19 20:40

Message:
Logged In: YES 
user_id=1331852

And how would one look up a bug by bug number since there
appears to be no obvious way to do this.

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

Comment By: Reinhold Birkenfeld (birkenfeld)
Date: 2005-08-19 20:18

Message:
Logged In: YES 
user_id=1188172

Duplicate of #893549. See patch #1212928 to fix all missing
format codes.

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

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


More information about the Python-bugs-list mailing list