Skip to content

C unpickling bypasses import thread safety #78753

@tjb900

Description

@tjb900
mannequin
BPO 34572
Nosy @brettcannon, @ncoghlan, @pitrou, @avassalotti, @ericsnowcurrently, @tjb900, @gstarnberger
PRs
  • bpo-34572: change _pickle unpickling to use import rather than retrieving from sys.modules #9047
  • [3.7] bpo-34572: change _pickle unpickling to use import rather than retrieving from sys.modules (GH-9047) #11921
  • Files
  • reproducer_submit.py
  • reproduce_34572.py
  • find_class_deadlock.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 2019-02-18.15:53:12.514>
    created_at = <Date 2018-09-03.15:53:21.527>
    labels = ['extension-modules', '3.8', 'type-bug', '3.7']
    title = 'C unpickling bypasses import thread safety'
    updated_at = <Date 2019-11-21.19:24:51.077>
    user = 'https://github.com/tjb900'

    bugs.python.org fields:

    activity = <Date 2019-11-21.19:24:51.077>
    actor = 'Valentyn Tymofieiev'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-02-18.15:53:12.514>
    closer = 'pitrou'
    components = ['Extension Modules']
    creation = <Date 2018-09-03.15:53:21.527>
    creator = 'tjb900'
    dependencies = []
    files = ['47784', '48715', '48736']
    hgrepos = []
    issue_num = 34572
    keywords = ['patch', 'needs review']
    message_count = 13.0
    messages = ['324528', '327729', '335023', '335027', '335096', '335098', '335099', '335842', '335844', '335845', '356641', '356697', '357200']
    nosy_count = 8.0
    nosy_names = ['brett.cannon', 'ncoghlan', 'pitrou', 'alexandre.vassalotti', 'eric.snow', 'tjb900', 'Valentyn Tymofieiev', 'gst']
    pr_nums = ['9047', '11921']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue34572'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifeextension-modulesC modules in the Modules dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions