[issue14749] Add 'Z' to skipitem() in Python/getargs.c

Larry Hastings report at bugs.python.org
Tue May 8 11:56:32 CEST 2012


New submission from Larry Hastings <larry at hastings.org>:

skipitem() (in Python/getargs.c) has to be taught about all the "format units" understood by PyArg_Parse.  There's a note at the top of the format-unit-understanding code saying

  When you add new format codes,
  please don't forget poor skipitem() below.

Well, someone forgot poor skipitem() when they added 'Z'.

Since this is a bugfix, I assert it should go into 3.2, then get forward-ported into trunk.  So, step 1: check the attached one-line patch to 3.2.

Georg: sound good?

----------
assignee: larry
components: Interpreter Core
files: larry.skipitem.Z.1.diff
keywords: patch
messages: 160191
nosy: georg.brandl, larry
priority: low
severity: normal
stage: patch review
status: open
title: Add 'Z' to skipitem() in Python/getargs.c
type: behavior
versions: Python 3.2
Added file: http://bugs.python.org/file25492/larry.skipitem.Z.1.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14749>
_______________________________________


More information about the Python-bugs-list mailing list