diff options
author | Gregory P. Smith <greg@mad-scientist.com> | 2008-06-02 04:05:52 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@mad-scientist.com> | 2008-06-02 04:05:52 (GMT) |
commit | 137d824148f9322c741b16d90ada72fc558b9a1c (patch) | |
tree | 6e2a7c1faa9e5b1e7b6490a735b521d729dfbaad /Misc/NEWS | |
parent | 8856ddae2522c644132b5d0730ab60021f2ce13e (diff) | |
download | cpython-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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |