Skip to content

_PyGen_FetchStopIterationValue() crashes on unnormalised exceptions #68184

@scoder

Description

@scoder
BPO 23996
Nosy @ncoghlan, @pitrou, @scoder, @vstinner, @giampaolo, @serhiy-storchaka, @1st1
Files
  • fix_stopiteration_crash.patch
  • fix_stopiteration_crash.patch: improved patch with fast paths for all normal cases
  • fix_stopiteration_crash.patch: improved patch that should avoid a performance regression in the normal case
  • fix_stopiteration_value_slow.patch
  • fix_stopiteration_value.patch
  • test_stopiteration_tuple_value.patch
  • gen_set_stopiteration_value.patch
  • gen_set_stopiteration_value_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 = None
    closed_at = <Date 2016-11-08.19:33:58.662>
    created_at = <Date 2015-04-18.19:45:13.784>
    labels = ['interpreter-core', 'type-bug', '3.7']
    title = '_PyGen_FetchStopIterationValue() crashes on unnormalised exceptions'
    updated_at = <Date 2016-11-08.19:33:58.660>
    user = 'https://github.com/scoder'

    bugs.python.org fields:

    activity = <Date 2016-11-08.19:33:58.660>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-11-08.19:33:58.662>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2015-04-18.19:45:13.784>
    creator = 'scoder'
    dependencies = []
    files = ['39108', '39116', '39119', '39691', '39692', '45347', '45353', '45355']
    hgrepos = []
    issue_num = 23996
    keywords = ['patch']
    message_count = 25.0
    messages = ['241454', '241493', '241516', '241612', '242058', '242060', '244043', '245209', '245250', '245324', '247919', '247927', '247929', '247930', '247937', '247941', '274203', '280029', '280044', '280045', '280046', '280062', '280067', '280149', '280339']
    nosy_count = 8.0
    nosy_names = ['ncoghlan', 'pitrou', 'scoder', 'vstinner', 'giampaolo.rodola', 'python-dev', 'serhiy.storchaka', 'yselivanov']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue23996'
    versions = ['Python 3.4', 'Python 3.5', 'Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifeinterpreter-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