Skip to content

Tutorial: Example of Source Code Encoding triggers error #57734

Description

@nicolasg
mannequin
BPO 13525
Nosy @ezio-melotti, @merwok, @serhiy-storchaka, @miss-islington
PRs
  • bpo-13525: Fix incorrect encoding name in the tutorial example. #6738
  • [3.7] bpo-13525: Fix incorrect encoding name in the tutorial example. (GH-6738) #6742
  • [3.6] bpo-13525: Fix incorrect encoding name in the tutorial example. (GH-6738) #6743
  • [2.7] bpo-13525: Fix incorrect encoding name in the tutorial example. (GH-6738). #6744
  • Files
  • cp_1252broken.py: File written following the example
  • windows_1252ok.py: Using windows-1252 works
  • 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/merwok'
    closed_at = <Date 2018-05-09.09:36:35.003>
    created_at = <Date 2011-12-03.13:17:22.237>
    labels = ['3.8', 'type-feature', '3.7', 'docs']
    title = 'Tutorial: Example of Source Code Encoding triggers error'
    updated_at = <Date 2018-05-09.09:36:35.000>
    user = 'https://bugs.python.org/nicolasg'

    bugs.python.org fields:

    activity = <Date 2018-05-09.09:36:35.000>
    actor = 'serhiy.storchaka'
    assignee = 'eric.araujo'
    closed = True
    closed_date = <Date 2018-05-09.09:36:35.003>
    closer = 'serhiy.storchaka'
    components = ['Documentation']
    creation = <Date 2011-12-03.13:17:22.237>
    creator = 'nicolasg'
    dependencies = []
    files = ['23840', '23841']
    hgrepos = []
    issue_num = 13525
    keywords = ['patch']
    message_count = 7.0
    messages = ['148798', '149161', '316313', '316314', '316316', '316317', '316320']
    nosy_count = 6.0
    nosy_names = ['ezio.melotti', 'eric.araujo', 'nicolasg', 'docs@python', 'serhiy.storchaka', 'miss-islington']
    pr_nums = ['6738', '6742', '6743', '6744']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue13525'
    versions = ['Python 2.7', 'Python 3.6', 'Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of life3.8 (EOL)end of lifedocsDocumentation in the Doc dirtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions