Issue 1264168: PyArg_ParseTupleAndKeywords doesn't handle I format correctl (original) (raw)

Created on 2005-08-19 17:31 by finlay648, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
python.patch finlay648,2005-08-19 17:31 proposed patch
Messages (4)
msg26089 - (view) Author: John Finlay (finlay648) Date: 2005-08-19 17:31
PyArg_ParseTupleAndKeywords fails with the message; "...impossible" 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.
msg26090 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2005-08-19 18:18
Logged In: YES user_id=1188172 Duplicate of #893549. See patch #1212928 to fix all missing format codes.
msg26091 - (view) Author: John Finlay (finlay648) Date: 2005-08-19 18:40
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.
msg26092 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2005-08-19 18:48
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 '#')
History
Date User Action Args
2022-04-11 14:56:12 admin set github: 42292
2005-08-19 17:31:34 finlay648 create