Skip to content

os.listdir on empty strings. Inconsistent behaviour. #39373

@hannukoo

Description

@hannukoo
mannequin
BPO 818059
Nosy @rhettinger, @amauryfa, @pitrou, @benjaminp
Superseder
  • bpo-5913: On Windows os.listdir('') -> cwd and os.listdir(u'') -> C:</li>
  • Files
  • listdir.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 2009-05-29.02:46:22.064>
    created_at = <Date 2003-10-05.10:50:30.000>
    labels = ['type-bug', 'library']
    title = 'os.listdir on empty strings. Inconsistent behaviour.'
    updated_at = <Date 2009-05-29.02:46:22.062>
    user = 'https://bugs.python.org/hannukoo'

    bugs.python.org fields:

    activity = <Date 2009-05-29.02:46:22.062>
    actor = 'benjamin.peterson'
    assignee = 'none'
    closed = True
    closed_date = <Date 2009-05-29.02:46:22.064>
    closer = 'benjamin.peterson'
    components = ['Library (Lib)']
    creation = <Date 2003-10-05.10:50:30.000>
    creator = 'hannukoo'
    dependencies = []
    files = ['12222']
    hgrepos = []
    issue_num = 818059
    keywords = ['patch', 'needs review']
    message_count = 6.0
    messages = ['18561', '18562', '18563', '18564', '76901', '88497']
    nosy_count = 6.0
    nosy_names = ['rhettinger', 'jvr', 'amaury.forgeotdarc', 'hannukoo', 'pitrou', 'benjamin.peterson']
    pr_nums = []
    priority = 'high'
    resolution = 'duplicate'
    stage = 'patch review'
    status = 'closed'
    superseder = '5913'
    type = 'behavior'
    url = 'https://bugs.python.org/issue818059'
    versions = ['Python 2.6', 'Python 3.0', 'Python 3.1', 'Python 2.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions