diff Python/sysmodule.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 1f2dfca52207
children b62a7a59414e
line wrap: on
line diff