Skip to content

tarfile.open(mode="r") race condition when importing lzma #83611

Description

@MaciejGol
mannequin
BPO 39430
Nosy @brettcannon, @ncoghlan, @gustaebel, @ethanfurman, @xdegaye, @ericsnowcurrently, @serhiy-storchaka, @miss-islington
PRs
  • bpo-39430: Fix race condition in lazy imports in tarfile. #18161
  • [3.8] bpo-39430: Fix race condition in lazy imports in tarfile. (GH-18161) #18171
  • [3.7] bpo-39430: Fix race condition in lazy imports in tarfile. (GH-18161) #18172
  • Files
  • test.py
  • 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 = None
    closed_at = None
    created_at = <Date 2020-01-23.11:15:38.684>
    labels = ['3.7', '3.8', 'type-bug', 'library', '3.9']
    title = 'tarfile.open(mode="r") race condition when importing lzma'
    updated_at = <Date 2020-01-27.21:29:15.029>
    user = 'https://bugs.python.org/MaciejGol'

    bugs.python.org fields:

    activity = <Date 2020-01-27.21:29:15.029>
    actor = 'ethan.furman'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2020-01-23.11:15:38.684>
    creator = 'Maciej Gol'
    dependencies = []
    files = ['48861']
    hgrepos = []
    issue_num = 39430
    keywords = ['patch']
    message_count = 18.0
    messages = ['360551', '360552', '360598', '360618', '360619', '360620', '360629', '360634', '360635', '360636', '360637', '360649', '360650', '360653', '360708', '360714', '360793', '360805']
    nosy_count = 9.0
    nosy_names = ['brett.cannon', 'ncoghlan', 'lars.gustaebel', 'ethan.furman', 'xdegaye', 'eric.snow', 'serhiy.storchaka', 'miss-islington', 'Maciej Gol']
    pr_nums = ['18161', '18171', '18172']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue39430'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of life3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      Status
      Done
      Status
      Done

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions