]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix exception handling for non-PyFunction objects, SF bug 414743.
authorJeremy Hylton <jeremy@alum.mit.edu>
Wed, 11 Apr 2001 13:52:29 +0000 (13:52 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Wed, 11 Apr 2001 13:52:29 +0000 (13:52 +0000)
commit512a237725c728faf495608c650f405522c3c5d4
treee570f171f0bc83d060bb2ad63215307823b40ebd
parent7667680d703d32c796be342539b9265f9e280e98
Fix exception handling for non-PyFunction objects, SF bug 414743.
Fix based on patch #414750 by Michael Hudson.

New functions get_func_name() and get_func_desc() return reasonable
names and descriptions for all objects.  XXX Even objects that aren't
actually callable.
Python/ceval.c