commit | 2e8f6140ff8dfc5d5d81825ac7ec8826f750fede | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Sep 03 20:32:55 1992 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Sep 03 20:32:55 1992 +0000 |
tree | c6c95cd5c60b3f437238979ce8205881b1c2b7a2 | |
parent | 99bec95482db5a395f450c972e5d947af42a01fd [diff] |
If a type has a repr function but no print function, printing it now calls the repr function. When the refcount is bad, don't print the object at all (chances of crashes). Changes to checking and printing of references: the consistency check is somewhat faster; don't print strings referenced once (most occur in function's name lists).