Skip to content

compile() doesn't ignore the source encoding when a string is passed in #48876

@brettcannon

Description

@brettcannon
BPO 4626
Nosy @brettcannon, @amauryfa, @vstinner, @benjaminp
Files
  • tokenizer_ignore_cookie-4.patch
  • tok_ignore_cookie-5.patch
  • unnamed
  • 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/benjaminp'
    closed_at = <Date 2009-03-02.23:32:33.644>
    created_at = <Date 2008-12-11.06:19:16.441>
    labels = ['interpreter-core', 'type-bug']
    title = "compile() doesn't ignore the source encoding when a string is passed in"
    updated_at = <Date 2009-03-30.19:26:09.596>
    user = 'https://github.com/brettcannon'

    bugs.python.org fields:

    activity = <Date 2009-03-30.19:26:09.596>
    actor = 'jmfauth'
    assignee = 'benjamin.peterson'
    closed = True
    closed_date = <Date 2009-03-02.23:32:33.644>
    closer = 'benjamin.peterson'
    components = ['Interpreter Core']
    creation = <Date 2008-12-11.06:19:16.441>
    creator = 'brett.cannon'
    dependencies = []
    files = ['12889', '13087', '13411']
    hgrepos = []
    issue_num = 4626
    keywords = ['patch', 'needs review']
    message_count = 29.0
    messages = ['77590', '78534', '78917', '78930', '79102', '79103', '79104', '79992', '79997', '80579', '80613', '80635', '80791', '80804', '82102', '82393', '82615', '82793', '82815', '83047', '83048', '83069', '84093', '84125', '84153', '84154', '84159', '84160', '84623']
    nosy_count = 6.0
    nosy_names = ['brett.cannon', 'sjmachin', 'amaury.forgeotdarc', 'vstinner', 'benjamin.peterson', 'jmfauth']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'needs patch'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue4626'
    versions = ['Python 3.0', 'Python 3.1']

    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