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

Add __all__ into types #67692

Closed
serhiy-storchaka opened this issue Feb 23, 2015 · 3 comments
Closed

Add __all__ into types #67692

serhiy-storchaka opened this issue Feb 23, 2015 · 3 comments
Labels
stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error

Comments

@serhiy-storchaka
Copy link
Member

BPO 23504
Nosy @ezio-melotti, @berkerpeksag, @vadmium, @serhiy-storchaka
Files
  • types___all__.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 2015-03-04.07:47:57.517>
    created_at = <Date 2015-02-23.22:14:05.540>
    labels = ['type-bug', 'library']
    title = 'Add __all__ into types'
    updated_at = <Date 2015-03-04.07:47:57.516>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2015-03-04.07:47:57.516>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-03-04.07:47:57.517>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2015-02-23.22:14:05.540>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = ['38216']
    hgrepos = []
    issue_num = 23504
    keywords = ['patch']
    message_count = 3.0
    messages = ['236467', '237172', '237175']
    nosy_count = 5.0
    nosy_names = ['ezio.melotti', 'python-dev', 'berker.peksag', 'martin.panter', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue23504'
    versions = ['Python 2.7', 'Python 3.4', 'Python 3.5']

    @serhiy-storchaka
    Copy link
    Member Author

    Currently pydoc outputs only two classes and two functions in the types module. Proposed patch add __all__ into the types module, so that pydoc will output builtin class deliberately added into the types module.

    @serhiy-storchaka serhiy-storchaka added stdlib Python modules in the Lib dir type-bug An unexpected behavior, bug, or error labels Feb 23, 2015
    @berkerpeksag
    Copy link
    Member

    LGTM.

    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Mar 4, 2015

    New changeset cb5fe8cc60eb by Serhiy Storchaka in branch '2.7':
    Issue bpo-23504: Added an __all__ to the types module.
    https://hg.python.org/cpython/rev/cb5fe8cc60eb

    New changeset 4888f9498db6 by Serhiy Storchaka in branch '3.4':
    Issue bpo-23504: Added an __all__ to the types module.
    https://hg.python.org/cpython/rev/4888f9498db6

    New changeset 5c73b01d58ac by Serhiy Storchaka in branch 'default':
    Issue bpo-23504: Added an __all__ to the types module.
    https://hg.python.org/cpython/rev/5c73b01d58ac

    @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-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants