39 Commits (a6bdfd1fa93ef07f4217fe4048c7a03d405f577e)

Author SHA1 Message Date
Ezio Melotti 8dc04a4dd1 Merged revisions 77310-77311 via svnmerge from 16 years ago
Antoine Pitrou b9d4963a98 Issue #7092: Fix the DeprecationWarnings emitted by the standard library 16 years ago
Facundo Batista 2da91c375b Fixed issue #2888. Now the behaviour of pprint when working with nested 18 years ago
Georg Brandl 23da6e6545 #1713041: fix pprint's handling of maximum depth. 18 years ago
Raymond Hettinger 5310b69419 Shorter pprint's for empty sets and frozensets. Fix indentation of frozensets. Add tests including two complex data structures. 18 years ago
Raymond Hettinger c226c31139 Let pprint() support sets and frozensets (suggested by David Mertz). 18 years ago
Georg Brandl dcd6b52206 #1351692: in pprint, always call format() for dict and list items to enable 18 years ago
Tim Peters d609b1a20e pprint functions used to sort a dict (by key) if and only if 20 years ago
Walter Dörwald e62e936e79 Change PrettyPrinter.pprint(), so that output is written directly to the 21 years ago
Walter Dörwald 1b626cac73 Fix pprint to be able to handle objects that don't have a __repr__ 22 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() 23 years ago
Walter Dörwald 7a7ede54d4 Patch #750542: pprint now will pretty print subclasses of list, tuple 23 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(): 24 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 25 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 27 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