If interning an instance of a string subclass, intern a real string object
with the same value instead. This ensures that a string (or string subclass) object's ob_sinterned pointer is always a str (or NULL), and that the dict of interned strings only has strs as keys.
T
Tim Peters committed
111f60964ee438e64d82cb884f9dfdec10321b7c
Parent: af90b3e