Message255146
I forgot about this issue and proposed similar patch for issue25168. It doesn't recalculate timezone values (a tuple of frozensets) on every _strptime call, but uses cheaper tests for time.tzname and time.daylight.
issue6478_v3.diff has a bug, it doesn't clear _regex_cache after changing _TimeRE_cache. And I doubt that after fixing this the benefit of not recreating the entire _TimeRE_cache will be worth the complication of the code.
Looks as this bug is a cause of random order depending tests failure (issue22067). |
|
Date |
User |
Action |
Args |
2015-11-23 10:42:15 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, belopolsky, r.david.murray, mibanescu, berker.peksag |
2015-11-23 10:42:15 | serhiy.storchaka | set | messageid: <1448275335.66.0.447369778962.issue6478@psf.upfronthosting.co.za> |
2015-11-23 10:42:15 | serhiy.storchaka | link | issue6478 messages |
2015-11-23 10:42:15 | serhiy.storchaka | create | |
|