This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author arigo
Recipients
Date 2007-02-14.12:13:44
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Ah, the code was the wrong way around.  The following
causes an Fatal Python error in a debug build:

s1 = "hel"
s1 = intern(s1 + "lo")

class S(str):
    def __hash__(self):
        return 0
    def __eq__(self, other):
        return False

s = S(s1)
s2 = intern(s)
del s1
History
Date User Action Args
2007-08-23 15:56:32adminlinkissue1658799 messages
2007-08-23 15:56:32admincreate