Skip to content

PyOS_Readline drops GIL and calls PyOS_StdioReadline, which isn't thread safe #60946

@tpn

Description

@tpn
BPO 16742
Nosy @gpshead, @pitrou, @kristjanvalur, @vstinner, @tpn, @meadori
Dependencies
  • bpo-3329: API for setting the memory allocator used by Python
  • Files
  • readline_gil.patch
  • readline_gil-2.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/tpn'
    closed_at = <Date 2013-10-10.14:19:38.937>
    created_at = <Date 2012-12-21.10:39:50.350>
    labels = ['interpreter-core', 'type-bug']
    title = "PyOS_Readline drops GIL and calls PyOS_StdioReadline, which isn't thread safe"
    updated_at = <Date 2013-10-19.11:34:40.896>
    user = 'https://github.com/tpn'

    bugs.python.org fields:

    activity = <Date 2013-10-19.11:34:40.896>
    actor = 'vstinner'
    assignee = 'trent'
    closed = True
    closed_date = <Date 2013-10-10.14:19:38.937>
    closer = 'python-dev'
    components = ['Interpreter Core']
    creation = <Date 2012-12-21.10:39:50.350>
    creator = 'trent'
    dependencies = ['3329']
    files = ['30578', '30593']
    hgrepos = []
    issue_num = 16742
    keywords = ['patch']
    message_count = 10.0
    messages = ['177874', '188397', '188499', '191092', '191094', '191178', '199388', '200340', '200390', '200404']
    nosy_count = 7.0
    nosy_names = ['gregory.p.smith', 'pitrou', 'kristjan.jonsson', 'vstinner', 'trent', 'meador.inge', 'python-dev']
    pr_nums = []
    priority = 'critical'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue16742'
    versions = ['Python 2.7', 'Python 3.3', 'Python 3.4']

    Metadata

    Metadata

    Assignees

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions