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

2010-06-24 Thread STINNER Victor
STINNER Victor added the comment: Done in 3.2 (r82202), blocked in 3.1 (r82203) because of #8949 and because I prefer to avoid touching a stable branch. -- resolution: -> fixed status: open -> closed ___ Python tracker

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

2010-06-11 Thread STINNER Victor
Changes by STINNER Victor : -- dependencies: +PyArg_Parse*(): "z" should not accept bytes ___ Python tracker ___ ___ Python-bugs-list m

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

2010-06-08 Thread STINNER Victor
New submission from STINNER Victor : 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_u