diff options
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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 |