[Python-Dev] More joy with test_strptime (original) (raw)
Brett C. bac at OCF.Berkeley.EDU
Mon Jul 12 03🔞44 CEST 2004
- Previous message: [Python-Dev] More joy with test_strptime
- Next message: [Python-Dev] More joy with test_strptime
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Brett C. wrote:
[SNIP]
Tim, can you insert the lines::
print "***%s == %s ?" % (strptime.TimeREcache.localetime.lang, strptime.getlang()) strptime.TimeREcache = strptime.TimeRE() strptime.regexcache = {} in the function (line 282 should be fine; just as long as you do it before any calls to strptime).
Actually, make sure to stick at line 282 or maybe even higher; it needs to be done before any strptime or time code is touched. I just realized that time.tzname() will be called once you do this and that will definitely mess the test up if you don't do it soon enough. Sorry about that.
-Brett
- Previous message: [Python-Dev] More joy with test_strptime
- Next message: [Python-Dev] More joy with test_strptime
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]