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.

Author ncoghlan
Recipients abacabadabacaba, afoglia, aronacher, barry, belopolsky, eric.araujo, eric.snow, ezio.melotti, fdrake, georg.brandl, giampaolo.rodola, gwrtheyrn, jackdied, lukasz.langa, ncoghlan, pitrou, rhettinger, santoso.wijaya, serhiy.storchaka, ssc
Date 2014-01-04.14:46:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1388846817.41.0.543052382369.issue7434@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-01-04 14:46:57ncoghlansetrecipients: + ncoghlan, fdrake, barry, georg.brandl, rhettinger, belopolsky, pitrou, jackdied, giampaolo.rodola, aronacher, ezio.melotti, eric.araujo, afoglia, abacabadabacaba, santoso.wijaya, lukasz.langa, ssc, eric.snow, gwrtheyrn, serhiy.storchaka
2014-01-04 14:46:57ncoghlansetmessageid: <1388846817.41.0.543052382369.issue7434@psf.upfronthosting.co.za>
2014-01-04 14:46:57ncoghlanlinkissue7434 messages
2014-01-04 14:46:56ncoghlancreate