Skip to content

exec of list comprehension fails on NameError #57766

@sdeibel

Description

@sdeibel
mannequin
BPO 13557
Nosy @rhettinger, @terryjreedy, @amauryfa, @merwok, @voidspace, @Trundle, @florentx, @durban
Files
  • execlistcomp.py: Illustrates the bug
  • exec-eval-clarification.diff: Attempt at clarifying the docs
  • 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 2012-07-08.21:53:49.751>
    created_at = <Date 2011-12-08.20:25:54.033>
    labels = ['easy', 'type-bug', 'docs']
    title = 'exec of list comprehension fails on NameError'
    updated_at = <Date 2012-07-08.21:53:49.749>
    user = 'https://bugs.python.org/sdeibel'

    bugs.python.org fields:

    activity = <Date 2012-07-08.21:53:49.749>
    actor = 'python-dev'
    assignee = 'docs@python'
    closed = True
    closed_date = <Date 2012-07-08.21:53:49.751>
    closer = 'python-dev'
    components = ['Documentation']
    creation = <Date 2011-12-08.20:25:54.033>
    creator = 'sdeibel'
    dependencies = []
    files = ['23883', '23937']
    hgrepos = []
    issue_num = 13557
    keywords = ['patch', 'easy']
    message_count = 9.0
    messages = ['149050', '149096', '149100', '149168', '149357', '154174', '154180', '164873', '165039']
    nosy_count = 15.0
    nosy_names = ['rhettinger', 'terry.reedy', 'sdeibel', 'amaury.forgeotdarc', 'eric.araujo', 'michael.foord', 'Trundle', 'jonathan.hartley', 'flox', 'daniel.urban', 'docs@python', 'westley.martinez', 'python-dev', 'mjs0', 'josmiley']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue13557'
    versions = ['Python 2.7', 'Python 3.2', 'Python 3.3']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      docsDocumentation in the Doc direasytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions