Skip to content

multithreading traceback KeyError when modifying file #70060

@MichaelAllen

Description

@MichaelAllen
BPO 25872
Nosy @akuchling, @csabella, @miss-islington, @tirkarthi, @mgraczyk, @rahul-kumi, @iritkatriel, @uniocto
PRs
  • [2.7] bpo-25872: fix KeyError on race in linecache.checkcache() #12061
  • bpo-25872: Fix KeyError in linecache when multithreaded #17360
  • bpo-25872: Fix KeyError in linecache when multithreaded #18007
  • [3.8] bpo-25872: Fix KeyError using linecache from multiple threads (GH-20079) #20079
  • [3.8] bpo-25872: Fix KeyError in linecache when multithreaded (GH-18007) #20092
  • [3.7] bpo-25872: Fix KeyError in linecache when multithreaded (GH-18007) (GH-20092) #20511
  • bpo-25872: Add unit tests for linecache and threading #25913
  • [3.10] bpo-25872: Add unit tests for linecache and threading (GH-25913) #26208
  • [3.9] bpo-25872: Add unit tests for linecache and threading (GH-25913) #26211
  • [3.10] bpo-25872: Add unit tests for linecache and threading (GH-25913) #26212
  • 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 = <Date 2021-05-18.14:27:03.157>
    created_at = <Date 2015-12-15.17:21:04.333>
    labels = ['easy', 'type-bug', 'library', '3.9']
    title = 'multithreading traceback KeyError when modifying file'
    updated_at = <Date 2021-05-18.14:27:03.156>
    user = 'https://bugs.python.org/MichaelAllen'

    bugs.python.org fields:

    activity = <Date 2021-05-18.14:27:03.156>
    actor = 'iritkatriel'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-05-18.14:27:03.157>
    closer = 'iritkatriel'
    components = ['Library (Lib)']
    creation = <Date 2015-12-15.17:21:04.333>
    creator = 'Michael Allen'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 25872
    keywords = ['patch', 'easy']
    message_count = 12.0
    messages = ['256469', '323180', '359390', '359392', '359427', '370301', '370302', '381409', '393187', '393872', '393874', '393875']
    nosy_count = 10.0
    nosy_names = ['akuchling', 'python-dev', 'Michael Allen', 'cheryl.sabella', 'miss-islington', 'xtreak', 'Michael Graczyk', 'rahul-kumi', 'iritkatriel', 'uniocto']
    pr_nums = ['12061', '17360', '18007', '20079', '20092', '20511', '25913', '26208', '26211', '26212']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue25872'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.9 (EOL)end of lifeeasystdlibStandard 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