]> granicus.if.org Git - python/commit
Fixed some details of printing the str() of an exception. This fixes
authorGuido van Rossum <guido@python.org>
Fri, 5 Sep 1997 19:11:53 +0000 (19:11 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 5 Sep 1997 19:11:53 +0000 (19:11 +0000)
commitd6bf45bcf669a13b2d8c3996b466c5171eca0e53
tree03cc0aabc55755d593b9f66d7927987efbf6a114
parentf394f56c2bda5a3055b1f08e17882dfa39bbdf34
Fixed some details of printing the str() of an exception.  This fixes
a core dump when __str__() returns a non-string, and plugs a memory
leak as well: the result of PyObject_Str() was never DECREFed.
Python/pythonrun.c