summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2003-03-31 18:07:50 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2003-03-31 18:07:50 (GMT)
commit43440a621e022fbeaff24f84dcf4d5458601fedc (patch)
tree4ffebf718b3a2fef2e38d3b441975b30dde80ea6 /Misc
parent2a04623ddd8c15a1d559440a5f4a63d43a3cafd7 (diff)
downloadcpython-43440a621e022fbeaff24f84dcf4d5458601fedc.zip
cpython-43440a621e022fbeaff24f84dcf4d5458601fedc.tar.gz
cpython-43440a621e022fbeaff24f84dcf4d5458601fedc.tar.bz2
Fix PyString_Format() so that '%c' % u'a' returns u'a'
instead of raising a TypeError. (From SF patch #710127) Add tests to verify this is fixed. Add various tests for '%c' % int.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 41cb887..4a0e330 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -34,6 +34,9 @@ Core and builtins
unicode system with multiple active interpreters, or successive
interpreter executions, would fail.
+- "%c" % u"a" now returns a unicode string instead of raising a
+ TypeError. See SF patch #710127.
+
Extension modules
-----------------