summaryrefslogtreecommitdiffstats
path: root/Lib/repr.py
Commit message (Collapse)AuthorAgeFilesLines
* Committing Tim's patch for SF bug #983585:Fred Drake2004-07-011-2/+1
| | | | test_repr() fails with id() values that appear negative
* Make sure sets are printed in sorted orderRaymond Hettinger2004-05-221-0/+2
|
* * teach repr.repr() about collections.deque()Raymond Hettinger2004-05-211-2/+6
| | | | * rename a variable for clarity
* * Updated repr.py to handle set() and frozenset().Raymond Hettinger2004-05-211-42/+44
| | | | | | | * Factored out common code to a single private function. * Use str.join() instead of + concatenation * Loop over elements directly instead of using indexing * Use % operator for formatting
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-121-5/+7
| | | | From SF patch #852334.
* [680789] Debug with long array takes foreverTim Peters2003-02-051-0/+18
| | | | | Added array.array to the types repr.py knows about, after a suggestion from Jurjen N.E. Bos.
* Rename "dictionary" (type and constructor) to "dict".Tim Peters2001-10-291-1/+1
|
* Another / that should be a // (previously not caught because ofGuido van Rossum2001-09-051-1/+1
| | | | incomplete coverage of the test suite).
* The first batch of changes recommended by the fixdiv tool. These areGuido van Rossum2001-09-041-3/+3
| | | | | mostly changes of / operators into //. Once or twice I did more or less than recommended.
* Use type(x).__name__ to get the name of the type instead of parsingGuido van Rossum2001-08-091-1/+1
| | | | repr(type(x)).
* Merge of descr-branch back into trunk.Tim Peters2001-08-021-2/+2
|
* bunch more __all__ listsSkip Montanaro2001-02-151-0/+2
| | | | | | also modified check_all function to suppress all warnings since they aren't relevant to what this test is doing (allows quiet checking of regsub, for instance)
* String method conversion.Eric S. Raymond2001-02-091-4/+2
|
* Whitespace normalization.Tim Peters2001-01-151-87/+87
|
* The third and final doc-string sweep by Ka-Ping Yee.Guido van Rossum2000-02-041-1/+1
| | | | | | | | The attached patches update the standard library so that all modules have docstrings beginning with one-line summaries. A new docstring was added to formatter. The docstring for os.py was updated to mention nt, os2, ce in addition to posix, dos, mac.
* Small patch by Tim Peters - it was using self.maxlist when it shouldGuido van Rossum1999-06-231-1/+1
| | | | be using self.maxdict.
* use getattr() instead of eval(), fix string representationsGuido van Rossum1995-01-121-4/+4
|
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-0/+13
|
* * Mass change: get rid of all init() methods, in favor of __init__()Guido van Rossum1993-12-171-3/+2
| | | | | | | constructors. There is no backward compatibility. Not everything has been tested. * aiff.{py,doc}: deleted in favor of aifc.py (which contains its docs as comments)
* Initial revisionGuido van Rossum1992-01-221-0/+83