A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-January/012246.html below:

New bug in function object hash() and comparisons

[Python-Dev] Re: New bug in function object hash() and comparisons [Python-Dev] Re: New bug in function object hash() and comparisonsBarry 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.

-Barry



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4