summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2007-01-25 20:22:02 (GMT)
committerBrett Cannon <bcannon@gmail.com>2007-01-25 20:22:02 (GMT)
commit07e1db317db4605acd5295f02dcfa4943d4a7054 (patch)
tree758c825f6324be4a1e404044af2697ed8b1d54b1 /Misc
parent27b4c8b23cf1493d5c00316ca78363189d635db5 (diff)
downloadcpython-07e1db317db4605acd5295f02dcfa4943d4a7054.zip
cpython-07e1db317db4605acd5295f02dcfa4943d4a7054.tar.gz
cpython-07e1db317db4605acd5295f02dcfa4943d4a7054.tar.bz2
Fix time.strptime's %U support. Basically rewrote the algorithm to be more
generic so that one only has to shift certain values based on whether the week was specified to start on Monday or Sunday. Cut out a lot of edge case code compared to the previous version. Also broke algorithm out into its own function (that is private to the module). Fixes bug #1643943 (thanks Biran Nahas for the report).
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS8
1 files changed, 5 insertions, 3 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 3fad862..8bbae96 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -123,6 +123,8 @@ Core and builtins
Library
-------
+- Bug #1643943: Fix time.strptime's support for the %U directive.
+
- Patch #1643874: memory leak in ctypes fixed.
- Patch #1627441: close sockets properly in urllib2.
@@ -130,12 +132,12 @@ Library
- Bug #494589: make ntpath.expandvars behave according to its docstring.
- Changed platform module API python_version_tuple() to actually
- return a tuple (it used to return a list)
+ return a tuple (it used to return a list).
- Added new platform module APIs python_branch(), python_revision(),
- python_implementation() and linux_distribution()
+ python_implementation() and linux_distribution().
-- Added support for IronPython and Jython to the platform module
+- Added support for IronPython and Jython to the platform module.
- The sets module has been deprecated. Use the built-in set/frozenset types
instead.