Skip to content

SyntaxError: encoding problem: iso-8859-1 on Windows #65043

@miwa

Description

@miwa
mannequin
BPO 20844
Nosy @vstinner, @nedbat, @tjguk, @benjaminp, @methane, @schlamar, @zware, @stevenwinfield, @eryksun
PRs
  • bpo-20844: open script file with "rb" mode #12616
  • [3.7] bpo-20844: open script file with "rb" mode (GH-12616) #12647
  • Files
  • test2.py
  • issue20844.py: Script used when reproducing the bug in slightly different ways
  • 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-04-01.12:03:46.170>
    created_at = <Date 2014-03-03.13:54:42.008>
    labels = ['interpreter-core', '3.8', 'type-bug', '3.7', 'OS-windows']
    title = 'SyntaxError: encoding problem: iso-8859-1 on Windows'
    updated_at = <Date 2019-04-01.12:03:46.165>
    user = 'https://bugs.python.org/miwa'

    bugs.python.org fields:

    activity = <Date 2019-04-01.12:03:46.165>
    actor = 'methane'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-04-01.12:03:46.170>
    closer = 'methane'
    components = ['Interpreter Core', 'Windows']
    creation = <Date 2014-03-03.13:54:42.008>
    creator = 'miwa'
    dependencies = []
    files = ['34276', '47065']
    hgrepos = []
    issue_num = 20844
    keywords = ['patch']
    message_count = 15.0
    messages = ['212637', '212638', '213012', '213014', '213189', '213196', '214330', '221089', '221134', '224351', '233129', '233130', '299935', '339288', '339290']
    nosy_count = 10.0
    nosy_names = ['vstinner', 'nedbat', 'tim.golden', 'benjamin.peterson', 'miwa', 'methane', 'schlamar', 'zach.ware', 'steven.winfield', 'eryksun']
    pr_nums = ['12616', '12647']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue20844'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions