]> granicus.if.org Git - python/commit
Change formatchar(), so that u"%c" % 0xffffffff now raises
authorWalter Dörwald <walter@livinglogic.de>
Wed, 2 Apr 2003 16:37:24 +0000 (16:37 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Wed, 2 Apr 2003 16:37:24 +0000 (16:37 +0000)
commit44f527fea4c73038322c7c6647e20e47c2ccdd88
treee920c6ed07d27c81c080a3fd8297dc6fd66418c2
parent7ba256f039ff917bfa3fe6fc0f9a6abd8e922ef3
Change formatchar(), so that u"%c" % 0xffffffff now raises
an OverflowError instead of a TypeError to be consistent
with "%c" % 256. See SF patch #710127.
Lib/test/test_unicode.py
Misc/NEWS
Objects/unicodeobject.c