]> granicus.if.org Git - python/commit
#2798: PyArg_ParseTuple did not correctly handle the "s" code in case of unicode...
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Mon, 12 May 2008 13:19:07 +0000 (13:19 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Mon, 12 May 2008 13:19:07 +0000 (13:19 +0000)
commit0740459248d1c01d393b52cff5f3a9b561e32e7c
tree8f95cf7c27597429dd2a8eed7b88f45184fcd545
parente6161492fefafe039f416204289b97a084c771dc
#2798: PyArg_ParseTuple did not correctly handle the "s" code in case of unicode strings
with chars outside the 7bit ascii (s# was already correct).

This is necessary to allow python run from a non-ASCII directory,
and seems enough on some platforms, probably where the default PyUnicode encoding (utf-8)
is also the default filesystem encoding.
Misc/NEWS
Modules/_testcapimodule.c
Python/getargs.c