From: Eric V. Smith Date: Mon, 14 Apr 2014 16:08:21 +0000 (-0400) Subject: Closes issue #12546: Allow \x00 as a fill character for builtin type __format__ methods. X-Git-Tag: v3.5.0a1~1892 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=280c458f9ec3b7d5d1aa8e83c02af350a15ede8e;p=thirdparty%2FPython%2Fcpython.git Closes issue #12546: Allow \x00 as a fill character for builtin type __format__ methods. --- 280c458f9ec3b7d5d1aa8e83c02af350a15ede8e diff --cc Misc/NEWS index 4b548590ffff,240c6cc0ec79..01ad416f7738 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -32,8 -27,9 +32,11 @@@ Core and Builtin - Issue #20637: Key-sharing now also works for instance dictionaries of subclasses. Patch by Peter Ingebretson. +- Issue #19995: %c, %o, %x, and %X now raise TypeError on non-integer input. + + - Issue #12546: Allow \x00 to be used as a fill character when using str, int, + float, and complex __format__ methods. + Library -------