From: Eric Smith Date: Tue, 19 Feb 2008 13:21:56 +0000 (+0000) Subject: Added PEP 3101. X-Git-Tag: v2.6a1~134 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5a3c135e17d9546bfac5fd30014f2c8431acb32b;p=python Added PEP 3101. --- diff --git a/Misc/NEWS b/Misc/NEWS index c0b6431d83..40b78fc12d 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -12,6 +12,12 @@ What's New in Python 2.6 alpha 1? Core and builtins ----------------- +- Implemented PEP 3101, Advanced String Formatting. This adds a new + builtin format(); a format() method for str and unicode; a + __format__() method to object, str, unicode, int, long, float, and + datetime; the class string.Formatter; and the C API + PyObject_Format(). + - Fixed several potential crashes, all caused by specially crafted __del__ methods exploiting objects in temporarily inconsistent state.