Skip to content

Some fstat() calls do not release the GIL, possibly hanging all threads #77202

@nirs

Description

@nirs
mannequin
BPO 33021
Nosy @Yhg1s, @brettcannon, @ncoghlan, @nirs, @pitrou, @vstinner, @rbtcollins, @pmp-p, @ericsnowcurrently, @serhiy-storchaka, @1st1, @MojoVampire, @ZackerySpytz
PRs
  • bpo-33021: Release the GIL during fstat() calls #6019
  • [2.7] bpo-33021: Release the GIL during fstat() calls (GH-6019) #6020
  • bpo-33021: Fix GCC 7 warning (-Wmaybe-uninitialized) in mmapmodule.c #6117
  • [3.7] bpo-33021: Release the GIL during fstat() calls (GH-6019) #6159
  • [3.6] bpo-33021: Release the GIL during fstat() calls (GH-6019) #6160
  • Files
  • mmap_nfs_test.py
  • mmap_size_nfs_test.py
  • fdopen_nfs_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 = <Date 2018-03-20.19:40:42.831>
    created_at = <Date 2018-03-07.23:03:24.256>
    labels = ['3.8', '3.7', 'library', 'performance']
    title = 'Some fstat() calls do not release the GIL, possibly hanging all threads'
    updated_at = <Date 2018-03-20.19:40:42.831>
    user = 'https://github.com/nirs'

    bugs.python.org fields:

    activity = <Date 2018-03-20.19:40:42.831>
    actor = 'pitrou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-03-20.19:40:42.831>
    closer = 'pitrou'
    components = ['Library (Lib)']
    creation = <Date 2018-03-07.23:03:24.256>
    creator = 'nirs'
    dependencies = []
    files = ['47490', '47491', '47492']
    hgrepos = []
    issue_num = 33021
    keywords = ['patch']
    message_count = 17.0
    messages = ['313407', '313409', '313417', '313419', '313434', '313627', '313836', '313837', '313839', '313980', '313981', '313982', '314024', '314083', '314158', '314159', '314161']
    nosy_count = 13.0
    nosy_names = ['twouters', 'brett.cannon', 'ncoghlan', 'nirs', 'pitrou', 'vstinner', 'rbcollins', 'pmpp', 'eric.snow', 'serhiy.storchaka', 'yselivanov', 'josh.r', 'ZackerySpytz']
    pr_nums = ['6019', '6020', '6117', '6159', '6160']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue33021'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifeperformancePerformance or resource usagestdlibStandard Library Python modules in the Lib/ directory

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions