From 29f1bb3227e235af444c725905dd29cf398198e9 Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Thu, 27 May 2010 21:29:59 +0000 Subject: Add item --- Doc/whatsnew/2.7.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Doc/whatsnew/2.7.rst b/Doc/whatsnew/2.7.rst index fbdc11abac4..a5633128d4c 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 -- cgit v1.2.3-65-gdbad