]> granicus.if.org Git - python/commit
Make _strptime.TimeRE().pattern() use ``\s+`` for matching whitespace instead
authorBrett Cannon <bcannon@gmail.com>
Sun, 3 Jun 2007 23:13:41 +0000 (23:13 +0000)
committerBrett Cannon <bcannon@gmail.com>
Sun, 3 Jun 2007 23:13:41 +0000 (23:13 +0000)
commitf7188cefb31371394201ec7f1fd321936f5b37a1
tree3868f9fb097070f6eb3f20bdb265b1cd92cdcb1b
parent994ebed50cb6dbdf96e63ed9f2c0697f2094f262
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.
Lib/_strptime.py
Lib/test/test_strptime.py
Misc/NEWS