Skip to content

ASCII file with UNIX line conventions and enough lines throws SyntaxError when ASCII-compatible codec is declared #71984

@mjpieters

Description

@mjpieters
mannequin
BPO 27797
Nosy @pfmoore, @mjpieters, @vstinner, @tjguk, @zware, @eryksun, @zooba
Superseder
  • bpo-20844: SyntaxError: encoding problem: iso-8859-1 on Windows
  • 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 2019-03-29.11:15:53.963>
    created_at = <Date 2016-08-19.07:38:02.729>
    labels = ['interpreter-core', 'type-bug', 'OS-windows']
    title = 'ASCII file with UNIX line conventions and enough lines throws SyntaxError when ASCII-compatible codec is declared'
    updated_at = <Date 2019-03-29.11:15:53.962>
    user = 'https://github.com/mjpieters'

    bugs.python.org fields:

    activity = <Date 2019-03-29.11:15:53.962>
    actor = 'methane'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-03-29.11:15:53.963>
    closer = 'methane'
    components = ['Interpreter Core', 'Windows']
    creation = <Date 2016-08-19.07:38:02.729>
    creator = 'mjpieters'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 27797
    keywords = []
    message_count = 2.0
    messages = ['273087', '273110']
    nosy_count = 7.0
    nosy_names = ['paul.moore', 'mjpieters', 'vstinner', 'tim.golden', 'zach.ware', 'eryksun', 'steve.dower']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '20844'
    type = 'behavior'
    url = 'https://bugs.python.org/issue27797'
    versions = ['Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      OS-windowsinterpreter-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