[Python-checkins] r81567 - python/trunk/Doc/whatsnew/2.7.rst

andrew.kuchling python-checkins at python.org
Thu May 27 23:29:59 CEST 2010


Author: andrew.kuchling
Date: Thu May 27 23:29:59 2010
New Revision: 81567

Log:
Add item

Modified:
   python/trunk/Doc/whatsnew/2.7.rst

Modified: python/trunk/Doc/whatsnew/2.7.rst
==============================================================================
--- python/trunk/Doc/whatsnew/2.7.rst	(original)
+++ python/trunk/Doc/whatsnew/2.7.rst	Thu May 27 23:29:59 2010
@@ -2354,6 +2354,12 @@
 
 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


More information about the Python-checkins mailing list