Skip to content

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

@mibanescu

Description

@mibanescu
mannequin
BPO 6478
Nosy @abalkin, @bitdancer, @berkerpeksag, @serhiy-storchaka
Files
  • ttime.py: Reproducer for the problem.
  • _strptime.py.patch
  • issue6478.patch
  • issue6478_v2.patch
  • issue6478_v3.diff
  • strptime_cache_timezone.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/abalkin'
    closed_at = <Date 2015-12-12.08:25:22.817>
    created_at = <Date 2009-07-13.17:33:43.956>
    labels = ['type-bug', 'library']
    title = "time.tzset does not reset _strptime's locale time cache"
    updated_at = <Date 2015-12-12.08:25:22.816>
    user = 'https://bugs.python.org/mibanescu'

    bugs.python.org fields:

    activity = <Date 2015-12-12.08:25:22.816>
    actor = 'serhiy.storchaka'
    assignee = 'belopolsky'
    closed = True
    closed_date = <Date 2015-12-12.08:25:22.817>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2009-07-13.17:33:43.956>
    creator = 'mibanescu'
    dependencies = []
    files = ['14496', '17964', '27732', '27749', '29012', '41134']
    hgrepos = []
    issue_num = 6478
    keywords = ['patch']
    message_count = 15.0
    messages = ['90497', '110086', '110091', '173879', '173880', '173905', '173941', '174824', '174826', '181711', '209738', '229171', '255146', '255835', '256244']
    nosy_count = 6.0
    nosy_names = ['belopolsky', 'r.david.murray', 'mibanescu', 'python-dev', 'berker.peksag', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue6478'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions