[Python-Dev] Re: New bug in function object hash() and comparisons

Barry A. Warsaw barry@digicool.com
Sat, 27 Jan 2001 12:48:33 -0500

    Me> We should definitely continue to allow functions as keys to
    Me> dictionaries, but probably just remove func_code as an input
    Me> to the function's hash.
But of course, func_globals won't be sufficient as a hash for
functions.  Probably changing the hash to a pointer compare is the
best thing after all.