jeanpaul calderone mhmhlmqdivmodcom fri 4 apr 2008 073804 0700 guido van rossum wrote fri apr 4 2008 246 ralf schmitt wrote news file python 26 mention need define __hash__ case define __eq__ class breaks code mercurial pyparsing shouldnt documented somewhere also find whatsnew file well technically always requirement specific code breaks maybe need turn warning order backwards compatible code twisted one class specifically broken revealed broken python 26 change code assumed identity hashing __hash__ method implemented ended working singleton instance class class also went way make sure case since changed code work python 26 youre curious details heres code fix httptwistedmatrixcomtracbrowsertrunktwistedweb2davelementbasepyrev22305l345 heres changeset fixed httptwistedmatrixcomtracchangeset22305 heres class fix httptwistedmatrixcomtracbrowsertrunktwistedweb2davelementbasepyrev22304l344 jeanpaul _______________________________________________ pythondev mailing list zvlllneumpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevpythondev40tangomucom thu 07 aug 2008 031813 0500 pythondev __eq__ vs hash