diff Python/errors.c @ 33100:356887410bde legacy-trunk

Fix bug [ 1005248 ] new.code() not cleanly checking its arguments using the result of new.code() can still destroy the sun, but merely calling the function shouldn't any more. I also rewrote the existing tests of new.code() to use vastly less un-bogus arguments, and added tests for the previous insane behaviours.
author Michael W. Hudson <mwh@python.net>
date Thu, 12 Aug 2004 17:56:29 +0000
parents 846b3ee7e106
children ed4dc05ea4b8
line wrap: on
line diff