[Python-checkins] cpython: Issue #11930: Added Misc/NEWS and versionchanged entries.

alexander.belopolsky python-checkins at python.org
Mon May 2 20:15:12 CEST 2011


http://hg.python.org/cpython/rev/bfd741162741
changeset:   69793:bfd741162741
user:        Alexander Belopolsky <alexander.belopolsky at gmail.com>
date:        Mon May 02 14:14:48 2011 -0400
summary:
  Issue #11930: Added Misc/NEWS and versionchanged entries.

files:
  Doc/library/datetime.rst |  4 ++++
  Misc/NEWS                |  3 +++
  2 files changed, 7 insertions(+), 0 deletions(-)


diff --git a/Doc/library/datetime.rst b/Doc/library/datetime.rst
--- a/Doc/library/datetime.rst
+++ b/Doc/library/datetime.rst
@@ -1792,6 +1792,10 @@
       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
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -132,6 +132,9 @@
 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

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list