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

pprint for types.SimpleNamespace #81557

Closed
carlbordum mannequin opened this issue Jun 23, 2019 · 4 comments
Closed

pprint for types.SimpleNamespace #81557

carlbordum mannequin opened this issue Jun 23, 2019 · 4 comments
Labels
3.9 only security fixes stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@carlbordum
Copy link
Mannequin

carlbordum mannequin commented Jun 23, 2019

BPO 37376
Nosy @freddrake, @rhettinger, @ericsnowcurrently, @serhiy-storchaka, @miss-islington, @carlbordum
PRs
  • bpo-37376: pprint support for SimpleNamespace #14318
  • 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 2019-06-26.23:14:35.696>
    created_at = <Date 2019-06-23.12:22:47.614>
    labels = ['type-feature', 'library', '3.9']
    title = 'pprint for types.SimpleNamespace'
    updated_at = <Date 2019-06-26.23:14:35.693>
    user = 'https://github.com/carlbordum'

    bugs.python.org fields:

    activity = <Date 2019-06-26.23:14:35.693>
    actor = 'eric.snow'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-06-26.23:14:35.696>
    closer = 'eric.snow'
    components = ['Library (Lib)']
    creation = <Date 2019-06-23.12:22:47.614>
    creator = 'carlbordum'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 37376
    keywords = ['patch']
    message_count = 4.0
    messages = ['346318', '346651', '346696', '346697']
    nosy_count = 6.0
    nosy_names = ['fdrake', 'rhettinger', 'eric.snow', 'serhiy.storchaka', 'miss-islington', 'carlbordum']
    pr_nums = ['14318']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue37376'
    versions = ['Python 3.9']

    @carlbordum
    Copy link
    Mannequin Author

    carlbordum mannequin commented Jun 23, 2019

    Currently, pprint.pprint does not help you at all when pretty-printing SimpleNamespaces. I have implemented support for this.

    @carlbordum carlbordum mannequin added 3.9 only security fixes stdlib Python modules in the Lib dir type-feature A feature request or enhancement labels Jun 23, 2019
    @rhettinger
    Copy link
    Contributor

    +1 This would be a nice improvement.

    @miss-islington
    Copy link
    Contributor

    New changeset 06a8916 by Miss Islington (bot) (Carl Bordum Hansen) in branch 'master':
    bpo-37376: pprint support for SimpleNamespace (GH-14318)
    06a8916

    @ericsnowcurrently
    Copy link
    Member

    Thanks, Carl Bordum Hansen!

    @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
    3.9 only security fixes stdlib Python modules in the Lib dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants