Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1)

#6478: time.tzset does not reset _strptime's locale time cache

Can't Edit
Can't Publish+Mail
Start Review
Created:
7 years, 3 months ago by mihai.ibanescu
Modified:
4 years, 2 months ago
Reviewers:
storchaka
CC:
sasha, r.david.murray, mihai.ibanescu_gmail.com, devnull_psf.upfronthosting.co.za, berkerpeksag, storchaka
Visibility:
Public.

Patch Set 1 #

Patch Set 2 #

Patch Set 3 #

Total comments: 1

Patch Set 4 #

Unified diffs Side-by-side diffs Delta from patch set Stats Patch
Lib/_strptime.py View 1 2 3 3 chunks +14 lines, -5 lines 0 comments Download
Lib/test/test_strptime.py View 1 2 3 4 chunks +20 lines, -6 lines 0 comments Download

Messages

Total messages: 1
storchaka_gmail.com
4 years, 2 months ago #1
http://bugs.python.org/review/6478/diff/7329/Lib/_strptime.py
File Lib/_strptime.py (right):

http://bugs.python.org/review/6478/diff/7329/Lib/_strptime.py#newcode322
Lib/_strptime.py:322: _TimeRE_cache['Z'] =
_TimeRE_cache._calculate_timezone(locale_tz)
_regex_cache contains wrong old values.
Sign in to reply to this message.

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+