Skip to content

exec(open(filename)) doesn't work #47442

@ms

Description

@ms
mannequin
BPO 3192
Nosy @brettcannon, @leifwalsh
Superseder
  • bpo-1762972: 'exec' does not accept what 'open' returns
  • 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 2008-06-26.08:58:37.997>
    created_at = <Date 2008-06-24.20:45:45.963>
    labels = ['interpreter-core', 'type-bug']
    title = "exec(open(filename)) doesn't work"
    updated_at = <Date 2008-06-26.08:58:37.981>
    user = 'https://bugs.python.org/ms'

    bugs.python.org fields:

    activity = <Date 2008-06-26.08:58:37.981>
    actor = 'georg.brandl'
    assignee = 'none'
    closed = True
    closed_date = <Date 2008-06-26.08:58:37.997>
    closer = 'georg.brandl'
    components = ['Interpreter Core']
    creation = <Date 2008-06-24.20:45:45.963>
    creator = 'ms'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 3192
    keywords = []
    message_count = 8.0
    messages = ['68700', '68701', '68702', '68703', '68704', '68705', '68708', '68735']
    nosy_count = 3.0
    nosy_names = ['brett.cannon', 'ms', 'leif.walsh']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = None
    status = 'closed'
    superseder = '1762972'
    type = 'behavior'
    url = 'https://bugs.python.org/issue3192'
    versions = ['Python 3.0']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error
      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions