]> granicus.if.org Git - python/commit
Remove caching of TimeRE (and thus LocaleTime) instance. Error was being
authorBrett Cannon <bcannon@gmail.com>
Thu, 24 Jul 2003 06:27:17 +0000 (06:27 +0000)
committerBrett Cannon <bcannon@gmail.com>
Thu, 24 Jul 2003 06:27:17 +0000 (06:27 +0000)
commit175ddb5b30f742d47f5567cea106934cc125138d
tree567d62b95bbcc548eeafb03eff8b04977a338569
parent98741af1700eb20f353c61f89a3c24e3a05f5c6d
Remove caching of TimeRE (and thus LocaleTime) instance.  Error was being
caught when executing test_strptime, test_logging, and test_time in that order
when the testing of "%c" occured.  Suspect the cache was not being recreated
(the test passed when test_logging was forced to re-establish the locale).
Lib/_strptime.py
Lib/test/test_strptime.py