]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
ceval.c/do_raise(): Tighten the test to disallow raising an instance of
authorTim Peters <tim.peters@gmail.com>
Thu, 18 Apr 2002 18:06:20 +0000 (18:06 +0000)
committerTim Peters <tim.peters@gmail.com>
Thu, 18 Apr 2002 18:06:20 +0000 (18:06 +0000)
commitafb2c80b29897fba37bfca718df6c4b25c25a166
tree0b7d9447ab2581f9ff9355df64444a0b9161a13f
parent16af557ae9c660cbd728546dcb28ec95b0030991
ceval.c/do_raise():  Tighten the test to disallow raising an instance of
a str subclass.

test_descr.py/string_exceptions():  New sub-test.

For 2.3 only.  Guido doesn't want this backported.
Lib/test/test_descr.py
Python/ceval.c