Skip to content

time.tzname on Python 3.3.0 for Windows is decoded by wrong encoding #60526

Description

@msmhrt
mannequin
BPO 16322
Nosy @jcea, @amauryfa, @pepr, @abalkin, @vstinner, @eryksun, @pganssle
PRs
  • [memory leak]bpo-16322, bpo-27426: Fix time zone names encoding issues in Windows #3740
  • Superseder
  • bpo-36779: time.tzname returns empty string on Windows if default codepage is a Unicode codepage
  • Files
  • tzname_bug.py: The example uploaded as is.
  • 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 2021-03-06.16:21:56.501>
    created_at = <Date 2012-10-25.11:56:50.663>
    labels = ['extension-modules', 'type-bug', 'OS-windows']
    title = 'time.tzname on Python 3.3.0 for Windows is decoded by wrong encoding'
    updated_at = <Date 2021-03-06.16:21:56.500>
    user = 'https://bugs.python.org/msmhrt'

    bugs.python.org fields:

    activity = <Date 2021-03-06.16:21:56.500>
    actor = 'eryksun'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-03-06.16:21:56.501>
    closer = 'eryksun'
    components = ['Extension Modules', 'Windows']
    creation = <Date 2012-10-25.11:56:50.663>
    creator = 'msmhrt'
    dependencies = []
    files = ['40507']
    hgrepos = []
    issue_num = 16322
    keywords = ['patch', '3.3regression']
    message_count = 23.0
    messages = ['173755', '173758', '173772', '173784', '173798', '173806', '173824', '173827', '174161', '174164', '174165', '176408', '224325', '251013', '251068', '251098', '251259', '251264', '251289', '251308', '302936', '302937', '388209']
    nosy_count = 9.0
    nosy_names = ['jcea', 'amaury.forgeotdarc', 'prikryl', 'belopolsky', 'vstinner', 'ocean-city', 'eryksun', 'msmhrt', 'p-ganssle']
    pr_nums = ['3740']
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '36779'
    type = 'behavior'
    url = 'https://bugs.python.org/issue16322'
    versions = ['Python 3.4', 'Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions