[New-bugs-announce] [issue8951] PyArg_Parse*(): factorize code of 's' and 'z' formats, and 'u' and 'Z' formats

STINNER Victor report at bugs.python.org
Wed Jun 9 00:11:05 CEST 2010


New submission from STINNER Victor <victor.stinner at haypocalc.com>:

Code of 's' and 'z' formats is *mostly* the same... except a bug (#8949).

Code of 'u' and 'Z' formats can also easily be factorized.

I don't really understand why the code was duplicated.

----------
components: Interpreter Core
files: factorize_getargs_sz_uZ.patch
keywords: patch
messages: 107356
nosy: haypo
priority: normal
severity: normal
status: open
title: PyArg_Parse*(): factorize code of 's' and 'z' formats, and 'u' and 'Z' formats
versions: Python 3.2
Added file: http://bugs.python.org/file17592/factorize_getargs_sz_uZ.patch

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


More information about the New-bugs-announce mailing list