Skip to content

Have importlib.resources.contents() return an interable instead of an iterator #77435

@brettcannon

Description

@brettcannon
BPO 33254
Nosy @warsaw, @brettcannon, @miss-islington
PRs
  • bpo-33254: do not return an empty list when asking for the contents of a namespace package #6467
  • [3.7] bpo-33254: do not return an empty list when asking for the contents of a namespace package (GH-6467) #6664
  • 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/brettcannon'
    closed_at = <Date 2018-04-30.19:44:12.799>
    created_at = <Date 2018-04-10.00:27:02.060>
    labels = ['3.7', '3.8', 'type-bug', 'library']
    title = 'Have importlib.resources.contents() return an interable instead of an iterator'
    updated_at = <Date 2018-04-30.19:44:12.799>
    user = 'https://github.com/brettcannon'

    bugs.python.org fields:

    activity = <Date 2018-04-30.19:44:12.799>
    actor = 'brett.cannon'
    assignee = 'brett.cannon'
    closed = True
    closed_date = <Date 2018-04-30.19:44:12.799>
    closer = 'brett.cannon'
    components = ['Library (Lib)']
    creation = <Date 2018-04-10.00:27:02.060>
    creator = 'brett.cannon'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 33254
    keywords = ['patch']
    message_count = 5.0
    messages = ['315155', '315156', '315170', '315959', '315961']
    nosy_count = 3.0
    nosy_names = ['barry', 'brett.cannon', 'miss-islington']
    pr_nums = ['6467', '6664']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue33254'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    Labels

    3.7 (EOL)end of life3.8 (EOL)end of lifestdlibStandard 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