Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkgutil.iter_modules and walk_packages should return a namedtuple #61413

Closed
RamchandraApte mannequin opened this issue Feb 15, 2013 · 7 comments
Closed

pkgutil.iter_modules and walk_packages should return a namedtuple #61413

RamchandraApte mannequin opened this issue Feb 15, 2013 · 7 comments
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@RamchandraApte
Copy link
Mannequin

RamchandraApte mannequin commented Feb 15, 2013

BPO 17211
Nosy @brettcannon, @ncoghlan, @ezio-melotti, @ericsnowcurrently
Files
  • issue.patch
  • issue.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 2016-09-08.01:39:20.714>
    created_at = <Date 2013-02-15.13:40:10.488>
    labels = ['type-feature', 'library']
    title = 'pkgutil.iter_modules and walk_packages should return a namedtuple'
    updated_at = <Date 2016-09-08.01:39:20.689>
    user = 'https://bugs.python.org/RamchandraApte'

    bugs.python.org fields:

    activity = <Date 2016-09-08.01:39:20.689>
    actor = 'eric.snow'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-09-08.01:39:20.714>
    closer = 'eric.snow'
    components = ['Library (Lib)']
    creation = <Date 2013-02-15.13:40:10.488>
    creator = 'Ramchandra Apte'
    dependencies = []
    files = ['29087', '29088']
    hgrepos = []
    issue_num = 17211
    keywords = ['patch']
    message_count = 7.0
    messages = ['182143', '182223', '182225', '182227', '182276', '274944', '274945']
    nosy_count = 6.0
    nosy_names = ['brett.cannon', 'ncoghlan', 'ezio.melotti', 'python-dev', 'eric.snow', 'Ramchandra Apte']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue17211'
    versions = ['Python 3.6']

    @RamchandraApte
    Copy link
    Mannequin Author

    RamchandraApte mannequin commented Feb 15, 2013

    Will attach a patch soon.

    @RamchandraApte RamchandraApte mannequin added stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels Feb 15, 2013
    @RamchandraApte
    Copy link
    Mannequin Author

    RamchandraApte mannequin commented Feb 16, 2013

    Attached is a patch.

    @ezio-melotti
    Copy link
    Member

    ezio-melotti commented Feb 16, 2013

    Patch needs tests.

    @RamchandraApte
    Copy link
    Mannequin Author

    RamchandraApte mannequin commented Feb 16, 2013

    I forget about that. Attached is a patch with tests.

    @RamchandraApte
    Copy link
    Mannequin Author

    RamchandraApte mannequin commented Feb 17, 2013

    Please review.

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Sep 8, 2016

    New changeset 4f023e60564b by Eric Snow in branch 'default':
    Issue bpo-17211: Yield a namedtuple in pkgutil.
    https://hg.python.org/cpython/rev/4f023e60564b

    @ericsnowcurrently
    Copy link
    Member

    ericsnowcurrently commented Sep 8, 2016

    I've applied the patch with a couple small changes. Thanks for the help!

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants