Skip to content

os.listdir() returns unusable bytes result on Windows #60860

@techtonik

Description

@techtonik
mannequin
BPO 16656
Nosy @loewis, @amauryfa, @pitrou, @vstinner, @larryhastings, @jkloth, @ezio-melotti, @merwok, @bitdancer, @serhiy-storchaka
Files
  • tests.py
  • python2.out.txt
  • python3.out.txt
  • test_unicode_fname.py: Test listdir(), stat() and walk() on Unicode filenames
  • py27fname.log
  • py33fname.log
  • listdir_unicode-2.7.patch
  • 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 2012-12-16.16:25:00.712>
    created_at = <Date 2012-12-10.11:41:44.104>
    labels = ['extension-modules', 'type-bug', 'expert-unicode', 'OS-windows']
    title = 'os.listdir() returns unusable bytes result on Windows'
    updated_at = <Date 2012-12-16.16:25:00.710>
    user = 'https://bugs.python.org/techtonik'

    bugs.python.org fields:

    activity = <Date 2012-12-16.16:25:00.710>
    actor = 'pitrou'
    assignee = 'none'
    closed = True
    closed_date = <Date 2012-12-16.16:25:00.712>
    closer = 'pitrou'
    components = ['Extension Modules', 'Unicode', 'Windows']
    creation = <Date 2012-12-10.11:41:44.104>
    creator = 'techtonik'
    dependencies = []
    files = ['28288', '28289', '28290', '28293', '28305', '28306', '28319']
    hgrepos = []
    issue_num = 16656
    keywords = ['patch']
    message_count = 37.0
    messages = ['177276', '177279', '177281', '177282', '177283', '177284', '177285', '177331', '177333', '177335', '177339', '177343', '177370', '177373', '177374', '177375', '177377', '177378', '177416', '177438', '177439', '177468', '177472', '177478', '177492', '177494', '177496', '177503', '177508', '177509', '177511', '177512', '177514', '177526', '177534', '177609', '177610']
    nosy_count = 11.0
    nosy_names = ['loewis', 'amaury.forgeotdarc', 'pitrou', 'vstinner', 'larry', 'techtonik', 'jkloth', 'ezio.melotti', 'eric.araujo', 'r.david.murray', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'wont fix'
    stage = 'test needed'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue16656'
    versions = ['Python 2.7', 'Python 3.2', 'Python 3.3', 'Python 3.4']

    Metadata

    Metadata

    Assignees

    No one assigned

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions