Steve Jorgensen wrote:
> Based on the conversations stemming from my previous post, it is clear that 
> the topic
> was too implementation-specific. It is not clear whether dunder methods are 
> an appropriate
> component of the solution (they might or might not be).
> Also, it presumably makes sense to start by looking at prior art rather than 
> inventing
> from scratch.
> Quotes from previous thread regarding prior art to look at:
> Jonathan Fine wrote:
> <snip>
> > Here's some comments on the state of the art. In
> > addition to
> > https://docs.python.org/3/library/pprint.html
> > there's also
> > https://docs.python.org/3/library/reprlib.html
> > and
> > https://docs.python.org/3/library/json.html
> > I expect that these three modules have some overlap in purpose and design
> > (but probably not in code).
> > And if you're brave, there's also
> > https://docs.python.org/3/library/pickle.html
> > and
> > https://github.com/psf/black
> > Time to declare a special interest. I'm a long-time user and great fan of
> > TeX / LaTeX. And some nice way of pretty-printing Python objects using TeX
> > notation could be useful.
> > And also related is Geoffrey French's Larch environment for editing Python,
> > which has a pretty-printing component.
> > http://www.britefury.com/larch_site/
> > with best wishes
> > Jonathan
> > Alex Hall wrote:
> > Might be helpful to look at https://github.com/tommikaikkonen/prettyprinter
> >  and https://github.com/wolever/pprintpp
> >
> Angus Hollands wrote:
> > Has anyone mentioned the IPython pretty printer yet? I'm late to the
> > conversation unfortunately, so apologies if someone else already raised it.
> > https://ipython.readthedocs.io/en/stable/api/generated/IPython.lib.pretty.html#IPython.lib.pretty.pretty
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/3WCI2E3BL4VBJ6W33PWNZLR25YUW3662/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to