comparison Python/errors.c @ 6246:4cf20fa883a9 legacy-trunk

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.
author Guido van Rossum <guido@python.org>
date Fri, 05 Sep 1997 19:11:53 +0000
parents b5757e87eb32
children b7f0b98f5325
comparison
equal deleted inserted replaced
6245:15bcec3d3259 6246:4cf20fa883a9