diff Python/exceptions.c @ 15438:433458651eb4 legacy-trunk

Plug a memory leak in com_import_stmt(): the tuple created to hold the "..." in "from M import ..." was never DECREFed. Leak reported by James Slaughter and nailed by Barry, who also provided an earlier version of this patch.
author Guido van Rossum <guido@python.org>
date Mon, 27 Nov 2000 22:22:36 +0000
parents 8aa947e1eee8
children 1e756f93bf5d
line wrap: on
line diff