Nick Coghlan added the comment:

With PEP 443 added for Python 3.4, I believe Ɓukasz intended to pursue a new 
pprint implementation based on functools.singledispatch.

That has obviously missed feature freeze for Python 3.4, but it's still a 
reasonable idea to pursue for 3.5.

In addition to OrderedDict (mentioned above) and defaultdict (which was 
mentioned in issue 5131), an updated pprint would also allow us to add support 
for the new dict view types, collections.deque, etc.

Ideally, we'd also have a standard lazy import mechanism in 3.5, so these 
definitions could go in the collections module, but only installed if pprint 
was also imported. Otherwise, having pprint depend on collections would likely 
be preferable to having the dependency run the other way.

----------
nosy: +ncoghlan
versions: +Python 3.5 -Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7434>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to