]> granicus.if.org Git - python/commit
An object with __call__ as an attribute, when called, will have that attribute checke...
authorBrett Cannon <bcannon@gmail.com>
Fri, 9 Jun 2006 22:31:23 +0000 (22:31 +0000)
committerBrett Cannon <bcannon@gmail.com>
Fri, 9 Jun 2006 22:31:23 +0000 (22:31 +0000)
commit22565aac3b75dbdf255226b217097885e59e0fcb
tree42c31b36cc7230fe703ad86356ccd9c0d66031c1
parentb2afe855e5d75a570707d6bf0e32206e4b7b1c4d
An object with __call__ as an attribute, when called, will have that attribute checked for __call__ itself, and will continue to look until it finds an object without the attribute.  This can lead to an infinite recursion.

Closes bug #532646, again.  Will be backported.
Lib/test/crashers/infinite_rec_3.py [deleted file]
Lib/test/test_descr.py
Misc/NEWS
Objects/abstract.c