Skip to content

compile() cannot decode Latin-1 source encodings #47824

@brettcannon

Description

@brettcannon
BPO 3574
Nosy @loewis, @warsaw, @brettcannon, @vstinner, @benjaminp
Dependencies
  • bpo-2384: [Py3k] line number is wrong after encoding declaration
  • bpo-3594: PyTokenizer_FindEncoding() never succeeds
  • Files
  • fix_latin.diff
  • test_pep3120.py
  • iso.py: Script encoding in ISO-8859-1 and has the #coding header
  • tokenizer_iso-8859-1-patch2.patch
  • tokenizer_iso-8859-1-patch3.patch
  • alt_latin_1.diff: Tweak to Victor's 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/brettcannon'
    closed_at = <Date 2008-10-17.03:39:11.888>
    created_at = <Date 2008-08-17.00:39:39.566>
    labels = ['interpreter-core', 'type-bug', 'release-blocker']
    title = 'compile() cannot decode Latin-1 source encodings'
    updated_at = <Date 2008-10-17.03:39:11.887>
    user = 'https://github.com/brettcannon'

    bugs.python.org fields:

    activity = <Date 2008-10-17.03:39:11.887>
    actor = 'brett.cannon'
    assignee = 'brett.cannon'
    closed = True
    closed_date = <Date 2008-10-17.03:39:11.888>
    closer = 'brett.cannon'
    components = ['Interpreter Core']
    creation = <Date 2008-08-17.00:39:39.566>
    creator = 'brett.cannon'
    dependencies = ['2384', '3594']
    files = ['11398', '11399', '11697', '11700', '11716', '11722']
    hgrepos = []
    issue_num = 3574
    keywords = ['patch']
    message_count = 31.0
    messages = ['71251', '71252', '71257', '71258', '71401', '71402', '71403', '71846', '71850', '71852', '71855', '72624', '74287', '74288', '74291', '74294', '74295', '74296', '74299', '74300', '74393', '74415', '74428', '74620', '74642', '74793', '74807', '74811', '74892', '74894', '74895']
    nosy_count = 5.0
    nosy_names = ['loewis', 'barry', 'brett.cannon', 'vstinner', 'benjamin.peterson']
    pr_nums = []
    priority = 'release blocker'
    resolution = 'accepted'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue3574'
    versions = ['Python 3.0']

    Metadata

    Metadata

    Assignees

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)release-blockertype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions