summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2011-05-02 18:14:48 (GMT)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2011-05-02 18:14:48 (GMT)
commit5611a1c326cf9b9f9cb801b0577d609cc4f2a95d (patch)
tree45eb2f53b5da8b821361d1fae511270775d12873
parent334fdeed2ba9f66a1bee9d37e2d5698d8e9f39fc (diff)
downloadcpython-5611a1c326cf9b9f9cb801b0577d609cc4f2a95d.zip
cpython-5611a1c326cf9b9f9cb801b0577d609cc4f2a95d.tar.gz
cpython-5611a1c326cf9b9f9cb801b0577d609cc4f2a95d.tar.bz2
Issue #11930: Added Misc/NEWS and versionchanged entries.
-rw-r--r--Doc/library/datetime.rst4
-rw-r--r--Misc/NEWS3
2 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst
index 2eb5ea0..d53d4a6 100644
--- a/Doc/library/datetime.rst
+++ b/Doc/library/datetime.rst
@@ -1792,6 +1792,10 @@ Notes:
In previous versions, :meth:`strftime` method was restricted to
years >= 1900.
+ .. versionchanged:: 3.3
+ In version 3.2, :meth:`strftime` method was restricted to
+ years >= 1000.
+
(6)
For example, if :meth:`utcoffset` returns ``timedelta(hours=-3, minutes=-30)``,
``%z`` is replaced with the string ``'-0330'``.
diff --git a/Misc/NEWS b/Misc/NEWS
index bb3bb81..ab7eefd 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -132,6 +132,9 @@ Core and Builtins
Library
-------
+- Issue #11930: Removed deprecated time.accept2dyear variable.
+ Removed year >= 1000 restriction from datetime.strftime.
+
- logging: don't define QueueListener if Python has no thread support.
- Issue #11277: mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS X to get