summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2008-06-02 04:05:52 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2008-06-02 04:05:52 (GMT)
commit137d824148f9322c741b16d90ada72fc558b9a1c (patch)
tree6e2a7c1faa9e5b1e7b6490a735b521d729dfbaad /Misc/NEWS
parent8856ddae2522c644132b5d0730ab60021f2ce13e (diff)
downloadcpython-137d824148f9322c741b16d90ada72fc558b9a1c.zip
cpython-137d824148f9322c741b16d90ada72fc558b9a1c.tar.gz
cpython-137d824148f9322c741b16d90ada72fc558b9a1c.tar.bz2
Fix issue 2782: be less strict about the format string type in strftime.
Accept unicode and anything else ParseTuple "s#" can deal with. This matches the time.strftime behavior.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index b378956..d78e993 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -72,6 +72,9 @@ Extension Modules
Library
-------
+- Issue #2782: The datetime module's strftime methods now accept
+ unicode format strings just as time.strftime always has.
+
- The sgmllib and htmllib modules have been deprecated for removal
in Python 3.0.