summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index a1d3a83..3d109f1 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -1330,6 +1330,11 @@ Library
Extension Modules
-----------------
+- Issue #9005: Prevent utctimetuple() from producing year 0 or year
+ 10,000. Prior to this change, timezone adjustment in utctimetuple()
+ could produce tm_year value of 0 or 10,000. Now an OverflowError is
+ raised in these edge cases.
+
- Issue #6641: The ``datetime.strptime`` method now supports the
``%z`` directive. When the ``%z`` directive is present in the
format string, an aware ``datetime`` object is returned with