[Python-Dev] Re: unexpected consequence of function attributes

Barry A. Warsaw barry@wooz.org
Wed, 17 Jan 2001 14:49:51 -0500


>>>>> "JH" == Jeremy Hylton <jeremy@alum.mit.edu> writes:

    JH> I have found one place in the library that depended on
    JH> hasattr(func, '__dict__') to return false -- dis.dis.  You
    JH> might want to check and see if there is anything other code
    JH> that doesn't expect function's to have extra attributes.  I
    JH> expect that only introspective code would be affected.

Patch #103303

http://sourceforge.net/patch/?func=detailpatch&patch_id=103303&group_id=5470