From: Andrew M. Kuchling Date: Thu, 27 May 2010 21:29:59 +0000 (+0000) Subject: Add item X-Git-Tag: v2.7rc1~73 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=29f1bb3227e235af444c725905dd29cf398198e9;p=python Add item --- diff --git a/Doc/whatsnew/2.7.rst b/Doc/whatsnew/2.7.rst index fbdc11abac..a5633128d4 100644 --- a/Doc/whatsnew/2.7.rst +++ b/Doc/whatsnew/2.7.rst @@ -2354,6 +2354,12 @@ that may require changes to your code: In the standard library: +* Operations with :class:`datetime` instances that resulted in a year + falling outside the supported range didn't always raise + :exc:`OverflowError`. Such errors are now checked more carefully + and will now raise the exception. (Reported by Mark Leander, patch + by Anand B. Pillai and Alexander Belopolsky; :issue:`7150`.) + * When using :class:`Decimal` instances with a string's :meth:`format` method, the default alignment was previously left-alignment. This has been changed to right-alignment, which might