45 Commits (3bf01757b668eefd9cd2b80887ca824ef3dca777)

Author SHA1 Message Date
Raymond Hettinger bad3c88094 Have pprint() respect the order in an OrderedDict. 16 years ago
Raymond Hettinger a7da1663ec Issue 3976: fix pprint for sets, frozensets, and dicts containing unorderable types. 16 years ago
Raymond Hettinger b868e63443 Issue 3976: fix pprint for sets, frozensets, and dicts containing unorderable types. 16 years ago
Alexandre Vassalotti eca20b6114 Merged revisions 63119-63128,63130-63131,63133,63135-63144,63146-63148,63151-63152,63155-63165,63167-63176,63181-63186,63188-63189 via svnmerge from 18 years ago
Raymond Hettinger 4b8db419c2 Update pprint() to match the new repr style for frozensets 18 years ago
Christian Heimes 969fe57baa Merged revisions 60245-60277 via svnmerge from 18 years ago
Christian Heimes 1af737cd1e Merged revisions 60176-60209 via svnmerge from 18 years ago
Guido van Rossum 34d1928766 SF patch# 1770008 by Christian Heimes (plus some extras). 19 years ago
Guido van Rossum 1bc535dc78 Merged revisions 55328-55341 via svnmerge from 19 years ago
Guido van Rossum 7fe7d1ac4d Don't insist on cStringIO. 19 years ago
Guido van Rossum 07f2436fa8 Nailed test_weakref.py. Pfew, messy! 19 years ago
Guido van Rossum be19ed77dd Fix most trivially-findable print statements. 19 years ago
Guido van Rossum 47b9ff6ba1 Restructure comparison dramatically. There is no longer a default 20 years ago
Thomas Wouters 4d70c3d9dd Partially merge trunk into p3yk. The removal of Mac/Tools is confusing svn 20 years ago
Walter Dörwald e62e936e79 Change PrettyPrinter.pprint(), so that output is written directly to the 20 years ago
Walter Dörwald 1b626cac73 Fix pprint to be able to handle objects that don't have a __repr__ 21 years ago
Skip Montanaro 2dc0c13840 typo - fixes 954030. 22 years ago
Walter Dörwald 70a6b49821 Replace backticks with repr() or "%r" 22 years ago
Walter Dörwald c8de4585a6 Add parameters indent, width and depth to pprint.pprint() and pprint.pformat() 22 years ago
Walter Dörwald 7a7ede54d4 Patch #750542: pprint now will pretty print subclasses of list, tuple 22 years ago
Martin v. Löwis d02879d620 Revert 1.25, as overloaded __repr__ is not considered. 23 years ago
Martin v. Löwis e57000338f Patch #750542: Use issubclass instead of type identity. 23 years ago
Fred Drake 397b615056 - PrettyPrinter.isreadable(), .isrecursive(): 23 years ago
Fred Drake e6691efa0f Change the "__ private" names to "_ protected"; this has been a pain for 24 years ago
Raymond Hettinger 16e3c427f3 Replace boolean test with is None. 24 years ago
Guido van Rossum 8ca162f417 Partial introduction of bools where appropriate. 24 years ago
Fred Drake aee113d368 Add an experimental mechanism to support extending the pprint formatting. 24 years ago
Barry Warsaw 00859c0538 __format(): Applied SF patch #482003 by Skip to fix multiline dict 24 years ago
Tim Peters 8876848323 Whitespace normalization. 25 years ago
Fred Drake 49cc01e552 Brute-force performance hackery; buys back about 20% of the time for 25 years ago
Fred Drake 3e5e661150 Remove obsolete email address. 25 years ago
Fred Drake 1ef106c94d Make pprint more locale-friendly; patch contributed by Denis S. Otkidach. 25 years ago
Tim Peters 95b3f78622 pprint's workhorse _safe_repr() function took time quadratic in the # of 25 years ago
Tim Peters a814db579d SF bug[ #423781: pprint.isrecursive() broken. 25 years ago
Skip Montanaro c62c81e013 __all__ for several more modules 25 years ago
Thomas Wouters 7e47402264 Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either 26 years ago
Fred Drake fbff97a73b Don't call len() if the value is already cached! Caught by Gerrit 26 years ago
Guido van Rossum 183fd40987 Fix indent error in __format(): del context[objid] at the end should 27 years ago
Fred Drake d804f4eea0 _safe_repr(): Simplify the condition tests in the first possible 27 years ago
Guido van Rossum 45e2fbc2e7 Mass check-in after untabifying all files that need it. 28 years ago
Guido van Rossum a1dbe50ec2 Added code to emit trailing ',' for singleton tuples in two places. 29 years ago
Fred Drake e0ffabe375 Slight mods to make the module conform to the documentation. 29 years ago
Fred Drake 5fd026dc5e Fix a couple of glitches identified by Greg Stein. 29 years ago
Fred Drake f39d0516b4 _safe_repr(): Make the context parameter required; ok since it's only for 29 years ago
Fred Drake a89fda0fe2 Muchly changed and improved pprint.py: 29 years ago
Guido van Rossum 5e92affc54 Checking in a copy of Fred Drake's data structure pretty-printer 29 years ago
Fred Drake b5d20393b1 Always use spaces for indentation. 29 years ago
Guido van Rossum 8206fb9c4c Final set of changes by Fred before 1.4beta3 30 years ago
Guido van Rossum 16d27e3b14 Demos for Fred's parser module 30 years ago