This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: pprint for types.SimpleNamespace
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.9
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: carlbordum, eric.snow, fdrake, miss-islington, rhettinger, serhiy.storchaka
Priority: normal Keywords: patch

Created on 2019-06-23 12:22 by carlbordum, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 14318 merged carlbordum, 2019-06-23 12:24
Messages (4)
msg346318 - (view) Author: Carl Bordum Hansen (carlbordum) * Date: 2019-06-23 12:22
Currently, pprint.pprint does not help you at all when pretty-printing SimpleNamespaces. I have implemented support for this.
msg346651 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2019-06-26 16:39
+1 This would be a nice improvement.
msg346696 - (view) Author: miss-islington (miss-islington) Date: 2019-06-26 23:13
New changeset 06a8916cf465f139dca958685b0da899364b8a8c by Miss Islington (bot) (Carl Bordum Hansen) in branch 'master':
bpo-37376: pprint support for SimpleNamespace (GH-14318)
https://github.com/python/cpython/commit/06a8916cf465f139dca958685b0da899364b8a8c
msg346697 - (view) Author: Eric Snow (eric.snow) * (Python committer) Date: 2019-06-26 23:14
Thanks, Carl Bordum Hansen!
History
Date User Action Args
2022-04-11 14:59:17adminsetgithub: 81557
2019-06-26 23:14:35eric.snowsetstatus: open -> closed

nosy: + eric.snow
messages: + msg346697

resolution: fixed
stage: patch review -> resolved
2019-06-26 23:13:31miss-islingtonsetnosy: + miss-islington
messages: + msg346696
2019-06-26 16:39:51rhettingersetnosy: + rhettinger
messages: + msg346651
2019-06-23 12:24:53carlbordumsetkeywords: + patch
stage: patch review
pull_requests: + pull_request14142
2019-06-23 12:22:47carlbordumcreate