Skip to content

UnboundLocalError when trying to raise exceptions inside execfile #46631

@jerryseutter

Description

@jerryseutter
BPO 2378
Nosy @amauryfa
Files
  • core_wierd_bug_minimal.zip: Files listed in comments above, in a zipfile. "figleaf" and "test_broken.py"
  • test_broken3.py
  • debughelper.tgz
  • localstofast.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/amauryfa'
    closed_at = <Date 2008-07-21.22:01:19.467>
    created_at = <Date 2008-03-18.02:55:44.479>
    labels = ['interpreter-core', 'type-bug']
    title = 'UnboundLocalError when trying to raise exceptions inside execfile'
    updated_at = <Date 2008-07-21.22:01:19.465>
    user = 'https://bugs.python.org/jerryseutter'

    bugs.python.org fields:

    activity = <Date 2008-07-21.22:01:19.465>
    actor = 'amaury.forgeotdarc'
    assignee = 'amaury.forgeotdarc'
    closed = True
    closed_date = <Date 2008-07-21.22:01:19.467>
    closer = 'amaury.forgeotdarc'
    components = ['Interpreter Core']
    creation = <Date 2008-03-18.02:55:44.479>
    creator = 'jerry.seutter'
    dependencies = []
    files = ['9716', '10698', '10699', '10953']
    hgrepos = []
    issue_num = 2378
    keywords = ['patch']
    message_count = 10.0
    messages = ['63856', '66575', '66662', '66665', '66674', '68554', '68555', '68613', '68617', '70122']
    nosy_count = 6.0
    nosy_names = ['jhylton', 'amaury.forgeotdarc', 'jerry.seutter', 'werneck', 'nikolasco', 'tenuki']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue2378'
    versions = ['Python 2.6']

    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