summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2007-06-03 23:13:41 (GMT)
committerBrett Cannon <bcannon@gmail.com>2007-06-03 23:13:41 (GMT)
commitf7188cefb31371394201ec7f1fd321936f5b37a1 (patch)
tree3868f9fb097070f6eb3f20bdb265b1cd92cdcb1b /Misc
parent994ebed50cb6dbdf96e63ed9f2c0697f2094f262 (diff)
downloadcpython-f7188cefb31371394201ec7f1fd321936f5b37a1.zip
cpython-f7188cefb31371394201ec7f1fd321936f5b37a1.tar.gz
cpython-f7188cefb31371394201ec7f1fd321936f5b37a1.tar.bz2
Make _strptime.TimeRE().pattern() use ``\s+`` for matching whitespace instead
of ``\s*``. This prevents patterns from "stealing" bits from other patterns in order to make a match work. Closes bug #1730389. Will be backported.
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 562033e..cf61b89 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -222,6 +222,9 @@ Core and builtins
Library
-------
+- Bug #1730389: Change time.strptime() to use ``\s+`` instead of ``\s*`` when
+ matching spaces in the specified format argument.
+
- SF 1668596/1720897: distutils now copies data files
even if package_dir is empty.