Skip to content

eval don't load local variable in dict and list comprehensions. #85388

@Andykl

Description

@Andykl
mannequin
BPO 41216
Nosy @ericvsmith, @tirkarthi, @Andykl
Superseder
  • bpo-5242: eval() function in List Comprehension doesn't work
  • 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 2020-07-06.12:51:13.690>
    created_at = <Date 2020-07-06.00:31:03.354>
    labels = ['interpreter-core', 'type-bug', '3.9']
    title = "eval don't load local variable in dict and list comprehensions."
    updated_at = <Date 2020-07-06.12:51:13.685>
    user = 'https://github.com/Andykl'

    bugs.python.org fields:

    activity = <Date 2020-07-06.12:51:13.685>
    actor = 'eric.smith'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-07-06.12:51:13.690>
    closer = 'eric.smith'
    components = ['Interpreter Core']
    creation = <Date 2020-07-06.00:31:03.354>
    creator = 'Andy_kl'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 41216
    keywords = []
    message_count = 3.0
    messages = ['373054', '373069', '373114']
    nosy_count = 3.0
    nosy_names = ['eric.smith', 'xtreak', 'Andy_kl']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '5242'
    type = 'behavior'
    url = 'https://bugs.python.org/issue41216'
    versions = ['Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.9 (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