Jeremy Hylton 4c989ddc9c Subclasses of string can no longer be interned. The semantics of
interning were not clear here -- a subclass could be mutable, for
example -- and had bugs.  Explicitly interning a subclass of string
via intern() will raise a TypeError.  Internal operations that attempt
to intern a string subclass will have no effect.

Added a few tests to test_builtin that includes the old buggy code and
verifies that calls like PyObject_SetAttr() don't fail.  Perhaps these
tests should have gone in test_string.
2004-08-07 19:20:05 +00:00
..
2002-08-15 14:59:02 +00:00
Fix
2004-08-07 17:57:16 +00:00
2004-05-13 11:54:19 +00:00
2002-12-30 22:08:05 +00:00
2004-06-13 20:32:17 +00:00
2004-07-07 17:44:12 +00:00