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 terry.reedy
Recipients amaury.forgeotdarc, bpb, eric.araujo, fdrake, jackdied, ncw, rhettinger, terry.reedy
Date 2010-09-29.17:30:51
SpamBayes Score 2.1362634e-11
Marked as misclassified No
Message-id <1285781454.8.0.0188897387932.issue5131@psf.upfronthosting.co.za>
In-reply-to
Content
>IMHO pprint should be able to make a decent job of all the built in types 

Agreed, already true as far as I know, and irrelevant. This issue is not about built-in types in the builtins module, as documented Lib Ref chapter 5 *Built-in Types*. Collections is an Python-coded stdlib  module that happens to import a couple of its classes from _collections, written in C for speed. 

I agree with Raymond that pprint needs a generic solution better than special-casing one class after another. Your idea of using ABCs intriguing.
History
Date User Action Args
2010-09-29 17:30:55terry.reedysetrecipients: + terry.reedy, fdrake, rhettinger, amaury.forgeotdarc, jackdied, ncw, bpb, eric.araujo
2010-09-29 17:30:54terry.reedysetmessageid: <1285781454.8.0.0188897387932.issue5131@psf.upfronthosting.co.za>
2010-09-29 17:30:52terry.reedylinkissue5131 messages
2010-09-29 17:30:51terry.reedycreate