Skip to content

Long unicode string causes SyntaxError: Non-UTF-8 code starting with '\xe2' in file ..., but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details #82936

@AndrewUshakov

Description

@AndrewUshakov
BPO 38755
Nosy @terryjreedy, @vstinner, @serhiy-storchaka, @eryksun
Files
  • tst112.py
  • 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 = None
    created_at = <Date 2019-11-09.12:26:48.904>
    labels = ['interpreter-core', 'type-bug', '3.8', '3.9']
    title = "Long unicode string causes SyntaxError: Non-UTF-8 code starting with '\\xe2' in file ..., but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details"
    updated_at = <Date 2021-04-13.23:54:10.139>
    user = 'https://bugs.python.org/AndrewUshakov'

    bugs.python.org fields:

    activity = <Date 2021-04-13.23:54:10.139>
    actor = 'vstinner'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2019-11-09.12:26:48.904>
    creator = 'Andrew Ushakov'
    dependencies = []
    files = ['48703']
    hgrepos = []
    issue_num = 38755
    keywords = []
    message_count = 7.0
    messages = ['356298', '356709', '356715', '390931', '390942', '391018', '391019']
    nosy_count = 5.0
    nosy_names = ['terry.reedy', 'vstinner', 'serhiy.storchaka', 'eryksun', 'Andrew Ushakov']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue38755'
    versions = ['Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of life3.9 (EOL)end of lifeinterpreter-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