summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2005-11-02 23:04:26 (GMT)
committerBrett Cannon <bcannon@gmail.com>2005-11-02 23:04:26 (GMT)
commit5d0bf9446b1684b8d2832600ceb49d8c5c4b812d (patch)
tree41a415bc4f611d69f99432d3ab1afa1323c6a1e4 /Misc
parent076b7325a88f7f779fd4f900a1b8d0214c7e062d (diff)
downloadcpython-5d0bf9446b1684b8d2832600ceb49d8c5c4b812d.zip
cpython-5d0bf9446b1684b8d2832600ceb49d8c5c4b812d.tar.gz
cpython-5d0bf9446b1684b8d2832600ceb49d8c5c4b812d.tar.bz2
Change time.strptime() to raise ValueError whenever there is an error in the
format string. Before exceptions generated by the internal code propagated up to the user and were not helpful. Closes bug #1340337.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 9b3f381..59f165a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -276,6 +276,9 @@ Extension Modules
Library
-------
+- Bug #1340337: change time.strptime() to always return ValueError when there
+ is an error in the format string.
+
- Patch #754022: Greatly enhanced webbrowser.py (by Oleg Broytmann).
- Bug #729103: pydoc.py: Fix docother() method to accept additional