This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients belopolsky, berker.peksag, mibanescu, r.david.murray, serhiy.storchaka
Date 2015-11-23.10:42:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1448275335.66.0.447369778962.issue6478@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2015-11-23 10:42:15serhiy.storchakasetrecipients: + serhiy.storchaka, belopolsky, r.david.murray, mibanescu, berker.peksag
2015-11-23 10:42:15serhiy.storchakasetmessageid: <1448275335.66.0.447369778962.issue6478@psf.upfronthosting.co.za>
2015-11-23 10:42:15serhiy.storchakalinkissue6478 messages
2015-11-23 10:42:15serhiy.storchakacreate