diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-05-12 13:19:07 (GMT) |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-05-12 13:19:07 (GMT) |
commit | 0740459248d1c01d393b52cff5f3a9b561e32e7c (patch) | |
tree | 8f95cf7c27597429dd2a8eed7b88f45184fcd545 /Misc | |
parent | e6161492fefafe039f416204289b97a084c771dc (diff) | |
download | cpython-0740459248d1c01d393b52cff5f3a9b561e32e7c.zip cpython-0740459248d1c01d393b52cff5f3a9b561e32e7c.tar.gz cpython-0740459248d1c01d393b52cff5f3a9b561e32e7c.tar.bz2 |
#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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -12,6 +12,10 @@ What's new in Python 3.0b1? Core and Builtins ----------------- +- Issue 2798: When parsing arguments with PyArg_ParseTuple, the "s" code now + allows any unicode string and returns a utf-8 encoded buffer, just like the + "s#" code already does. The "z" code was corrected as well. + - Issue 2801: fix bug in the float.is_integer method where a ValueError was sometimes incorrectly raised. |