Skip to content

nested try..excepts don't work correctly for generators #69798

@1st1

Description

@1st1
BPO 25612
Nosy @brettcannon, @ncoghlan, @pitrou, @scoder, @vstinner, @larryhastings, @benjaminp, @ned-deily, @njsmith, @asvetlov, @cjerdonek, @markshannon, @vadmium, @serhiy-storchaka, @1st1, @ajdavis
PRs
  • Move exc state to generator. Fixes bpo-25612 #1773
  • bpo-33612: Remove PyThreadState_Clear() assertion #7069
  • [3.7] bpo-33612: Remove PyThreadState_Clear() assertion (GH-7069) #7074
  • bpo-25612: Add minimal What's New in 3.7 entry #7656
  • [3.7] bpo-25612: Add minimal What's New in 3.7 entry (GH-7656) #7658
  • Files
  • gen_exc_1.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 2017-10-30.11:37:04.064>
    created_at = <Date 2015-11-12.20:59:18.932>
    labels = ['interpreter-core', '3.7']
    title = "nested try..excepts don't work correctly for generators"
    updated_at = <Date 2018-06-29.12:41:13.832>
    user = 'https://github.com/1st1'

    bugs.python.org fields:

    activity = <Date 2018-06-29.12:41:13.832>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-10-30.11:37:04.064>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2015-11-12.20:59:18.932>
    creator = 'yselivanov'
    dependencies = []
    files = ['41026']
    hgrepos = []
    issue_num = 25612
    keywords = ['patch']
    message_count = 38.0
    messages = ['254557', '254558', '254561', '254564', '254576', '254578', '254809', '254812', '254815', '254821', '254822', '254854', '254858', '254870', '254990', '254991', '254995', '254996', '255039', '255079', '256622', '287995', '287996', '304117', '304760', '304770', '304771', '305150', '305151', '305220', '305223', '317417', '317442', '319358', '319360', '319361', '319366', '320715']
    nosy_count = 16.0
    nosy_names = ['brett.cannon', 'ncoghlan', 'pitrou', 'scoder', 'vstinner', 'larry', 'benjamin.peterson', 'ned.deily', 'njs', 'asvetlov', 'chris.jerdonek', 'Mark.Shannon', 'martin.panter', 'serhiy.storchaka', 'yselivanov', 'emptysquare']
    pr_nums = ['1773', '7069', '7074', '7656', '7658']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue25612'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions