X Tutup
The Wayback Machine - https://web.archive.org/web/20251204195224/https://github.com/python/cpython/issues/85235
Skip to content

Avoid using the locale encoding for open() in tests #85235

@serhiy-storchaka

Description

@serhiy-storchaka
BPO 41063
Nosy @vstinner, @methane, @serhiy-storchaka
Dependencies
  • bpo-41048: read_mime_types() should read the rule file using UTF-8, not the locale encoding
  • bpo-41055: Remove outdated tests for tp_print
  • bpo-41058: pdb reads source files using the locale encoding
  • bpo-41069: Use non-ascii file names in tests by default
  • argparse uses default encoding when read arguments from file #85308: argparse uses default encoding when read arguments from file
  • bpo-41137: pdb uses the locale encoding for .pdbrc
  • bpo-41138: trace CLI reads source files using the locale encoding
  • bpo-41139: cgi uses the locale encoding for log files
  • bpo-41140: cgitb uses the locale encoding for log files
  • bpo-41143: distutils uses the locale encoding for the .pypirc file
  • pipes uses text files and the locale encodig #85322: pipes uses text files and the locale encodig
  • 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 2020-06-21.11:04:15.601>
    labels = ['3.7', '3.8', '3.9', '3.10', 'type-feature', 'tests']
    title = 'Avoid using the locale encoding for open() in tests'
    updated_at = <Date 2020-06-28.16:23:08.646>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2020-06-28.16:23:08.646>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Tests']
    creation = <Date 2020-06-21.11:04:15.601>
    creator = 'serhiy.storchaka'
    dependencies = ['41048', '41055', '41058', '41069', '41136', '41137', '41138', '41139', '41140', '41143', '41150']
    files = []
    hgrepos = []
    issue_num = 41063
    keywords = []
    message_count = 1.0
    messages = ['371994']
    nosy_count = 3.0
    nosy_names = ['vstinner', 'methane', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue41063'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.7 (EOL)end of life3.8 (EOL)end of life3.9 (EOL)end of lifetestsTests in the Lib/test dirtype-featureA feature request or enhancement

      Projects

      Status

      Doc issues

      Status

      Done

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        X Tutup