Bugs item #1201456, was opened at 2005-05-13 16:43
Message generated for change (Comment added) made by mwh
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1201456&group_id=5470
Category: Python Interpreter Core
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Vladimir Yu. Stepanov (vys)
Assigned to: Nobody/Anonymous (nobody)
Summary: Problem with recursion in dict (crash with core dump)
Initial Comment:
Please see example code.
----------------------------------------------------------------------
>Comment By: Michael Hudson (mwh)
Date: 2005-05-13 16:55
Message:
Logged In: YES
user_id=6656
I get an infinite recursion runtime error. What platform
are you on?
----------------------------------------------------------------------
Comment By: Vladimir Yu. Stepanov (vys)
Date: 2005-05-13 16:46
Message:
Logged In: YES
user_id=384980
d = {}
class test:
def __hash__(self):
d[self] = None
d[test()] = None
----------------------------------------------------------------------
Comment By: Michael Hudson (mwh)
Date: 2005-05-13 16:46
Message:
Logged In: YES
user_id=6656
I see no code. SF can be a pain with this...
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1201456&group_id=5470
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com